Skip to content

Commit

Permalink
fixed tests for auto-return suppression on newed FEs
Browse files Browse the repository at this point in the history
  • Loading branch information
satyr committed Jun 9, 2013
1 parent e822e8c commit 964b7ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/function.co
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ ok new (Object C: Number).C instanceof Number
# `new` against bare function prevents implicit return.
o = new ->
@0 = 1
2
[2]
eq o.0, 1


Expand Down Expand Up @@ -349,6 +349,7 @@ compileThrows 'invalid constructor' 1 'new 42'
o = new
@1 = \_
@length = 3
{}
eq '0_0' o * \0


Expand Down

0 comments on commit 964b7ab

Please sign in to comment.