mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
empty returns no longer return null
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
o("RETURN Expression", function() {
|
||||
return new ReturnNode($2);
|
||||
}), o("RETURN", function() {
|
||||
return new ReturnNode(new ValueNode(new LiteralNode('null')));
|
||||
return new ReturnNode;
|
||||
})
|
||||
],
|
||||
Comment: [
|
||||
|
||||
Reference in New Issue
Block a user