We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a1d82 commit e57b0c1Copy full SHA for e57b0c1
moonscript/transform.lua
@@ -462,7 +462,10 @@ Statement = Transformer({
462
})
463
else
464
return build.group({
465
- node,
+ {
466
+ "export",
467
+ node[2]
468
+ },
469
build.assign({
470
names = node[2],
471
values = node[3]
moonscript/transform.moon
@@ -263,8 +263,9 @@ Statement = Transformer {
263
cls
264
}
265
266
+ -- pull out vawlues and assign them after the export
267
build.group {
- node
268
+ { "export", node[2] }
269
build.assign {
270
names: node[2]
271
values: node[3]
0 commit comments