Ticket #108 (closed enhancement: fixed)
Modifier sections in type declarations
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | medium | Milestone: | Cobra 0.9 |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Cobra already has this, but with shared only. Extend this to any modifier keywords and allow multiple ones separated by commas.
class X private, shared def foo pass def bar is shared .foo class Y inherits X def main is shared .bar .foo # .error.
Implementation: This has been partially coded for in CobraParser? in _isNamesStack (which should probably be renamed _modifierNamesStack).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.