Ticket #100 (closed enhancement: fixed)
Support readonly/final fields
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | readonly, final | Cc: |
Description
Support readonly/final fields as found in C# and Java.
These can be initialized when declared or in the init cue, but then cannot be assigned to afterwards.
What keyword to use? Potential choices include:
- immutable
- readonly
- final
- unchanging
- fixed
- unvarying
Attachments
Change History
Note: See
TracTickets for help on using
tickets.