Changeset 13778 for src/Pugs/AST.hs

Show
Ignore:
Timestamp:
10/02/06 09:18:09 (2 years ago)
Author:
audreyt
Message:

* Support for instance default expressions (which are evaluated in

Class composition time, not in instance creation time):

class Foo {

has $.x = 10;

}

* In diamond inheritance, BUILD/DESTROY from a parent class won't be

executed more than once.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/AST.hs

    r13280 r13778  
    247247                [ Val (VStr "name") 
    248248                , Val (VStr name) 
     249                ] 
     250            , Syn "named" 
     251                [ Val (VStr "attrs") 
     252                , Syn "\\{}" [Noop] 
    249253                ] 
    250254            ]