No more default constructors.

Fixes #296.
This commit is contained in:
Bob Nystrom
2015-09-01 08:16:04 -07:00
parent 36f3059e48
commit 2e83f056c1
86 changed files with 248 additions and 133 deletions

View File

@ -1,3 +1,4 @@
class Cthulu {
construct new() {}
message { "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" }
}

View File

@ -1,6 +1,7 @@
import "cthulu" for Cthulu
class Lovecraft {
construct new() {}
say() { Cthulu.new().message }
}