mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
super is now possible in nodes/Expressions, where it wasn't possible before.
This commit is contained in:
@@ -152,7 +152,7 @@ exports.Expressions: class Expressions extends BaseNode
|
||||
|
||||
compile: (o) ->
|
||||
o ||= {}
|
||||
if o.scope then BaseNode::compile.call(this, o) else @compile_root(o)
|
||||
if o.scope then super(o) else @compile_root(o)
|
||||
|
||||
# Compile each expression in the Expressions body.
|
||||
compile_node: (o) ->
|
||||
|
||||
Reference in New Issue
Block a user