Ticket #102 (closed enhancement: fixed)
Augment properties decl syntax to support setting an initial value
Reported by: | hopscc | Owned by: | Chuck |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Properties declaration recently augmented to implicitly declare ( or not require an already declared) backing variable.
Extend this slightly to also support setting an initial value to this implicit backing variable
i.e.
pro val from var as int = 99 #equivalent to var _val as int = 99 pro val from var
see also discussion in
Declaring backing vars for properties on the same line
Attachments
Change History
Note: See
TracTickets for help on using
tickets.