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
@@ -1,6 +1,8 @@
var F = null
class Foo {
construct new() {}
method(param) {
F = Fn.new {
IO.print(param)
@@ -4,6 +4,8 @@ var foo = null
{
var local = "local"
class Foo {
construct new() {}
method {
IO.print(local)
}
@@ -2,6 +2,8 @@
{
var local = "local"
class Foo {
construct new() {}
method {
IO.print(local)
}