9 May
2009
9 May
'09
3:38 p.m.
class X { fun void doit(); } [Untitled]:line(2): function declaration must contain code... [Untitled]:line(2): (unless in interface, or is declared 'pure') [Untitled]:line(2): ...at function 'doit' interface X { fun void doit(); } [Untitled]:line(2): function declaration must contain code... [Untitled]:line(2): (unless in interface, or is declared 'pure') [Untitled]:line(2): ...at function 'doit' class X { fun pure void doit(); } [chuck](VM): sporking incoming shred: 1 (Untitled)... Does anybody use "pure" or know what it does? The last example seems to be equivalent to saying "fun void doit() { }". -- Tom Lieber http://AllTom.com/