Ticket #139 (closed defect: fixed)
Cannot name a variable "int8variable"
Reported by: | Chuck | Owned by: | eric.sellon |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
This code gives an error:
class X def main is shared int8variable = 5 # error: Expecting EOL, but got "variable" (ID) instead.
The workaround is to put an underscore in front of the digit: int_8variable or int_8_variable
Attachments
Change History
Note: See
TracTickets for help on using
tickets.