Merge branch 'master' of github.com:jashkenas/coffeescript into 2

# Conflicts:
#	lib/coffee-script/nodes.js
#	lib/coffee-script/scope.js
This commit is contained in:
Geoffrey
2017-02-04 12:36:49 -08:00
5 changed files with 22 additions and 7 deletions

View File

@@ -733,3 +733,19 @@ test "export an imported aliased member named default", ->
default as def
} from 'lib';"""
eq toJS(input), output
test "#4394: export shouldn't prevent variable declarations", ->
input = """
x = 1
export { x }
"""
output = """
var x;
x = 1;
export {
x
};
"""
eq toJS(input), output