[Gambas-bugtracker] Bug #2484: Cannot set enum value to a named constant
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Mon Feb 21 16:21:14 CET 2022
http://gambaswiki.org/bugtracker/edit?object=BUG.2484&from=L21haW4-
Kevin WHITEFOOT reported a new bug.
Summary
-------
Cannot set enum value to a named constant
Type : Bug
Priority : Medium
Gambas version : 3.16
Product : Language
Description
-----------
This fails to compile
Const x As Integer = 10
Private Enum GArc = x, GLine
This compiles:
Private Enum GArc = 10, GLine
System information
------------------
Kernel: 5.4.0-99-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7
wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
More information about the Bugtracker
mailing list