Back to naked constructors.

This commit is contained in:
Jeremy Ashkenas
2010-11-13 15:22:18 -05:00
parent f0b73dc9f5
commit 2aedbc2e42
12 changed files with 74 additions and 82 deletions

View File

@@ -81,7 +81,7 @@ eq ident(non?.existent().method()), undefined, 'soaks inner values'
# Soaks constructor invocations.
a = 0
class Foo
constructor: -> a += 1
-> a += 1
bar: "bat"
ok (new Foo())?.bar is 'bat'