Ticket #179 (assigned enhancement)

Opened 9 years ago

Last modified 6 years ago

support shared access modifier on class definitions

Reported by: hopscc Owned by: Chuck
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:


as in

class Foo is shared

More for completeness/symmetry than anything else.
see  Static Class Problem


static-class.patch Download (4.7 KB) - added by hopscc 8 years ago.

Change History

Changed 8 years ago by hopscc

Changed 8 years ago by hopscc

Tweaks to support this plus some tests.

I'm undecided whether allowing this should either automatically make all members shared/static (make it easy) or whether it should be supported but not encouraged (i.e force the user to also explicitly make each member shared)

The patch errs on the make-it-easy side but theres commented code for the other - if activated then the tests will need some modification.

Changed 8 years ago by hopscc

  • status changed from new to assigned
  • owner set to Chuck

Changed 6 years ago by hopscc

Separately reported(dup) in tkt:303

Note: See TracTickets for help on using tickets.