Wiki

Ticket #179 (assigned enhancement)

Opened 14 years ago

Last modified 11 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:

Description

as in

class Foo is shared

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

Attachments

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

Change History

Changed 13 years ago by hopscc

Changed 13 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 13 years ago by hopscc

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

Changed 11 years ago by hopscc

Separately reported(dup) in tkt:303

Note: See TracTickets for help on using tickets.