fix variable names with dots

This commit is contained in:
Dima Granetchi
2015-08-01 12:34:50 +03:00
parent 5bc04f918a
commit 06a49ab4c9
+1 -1
View File
@@ -316,7 +316,7 @@ class BindxExtMacro {
if (zeroListener == null || !zeroListener.f.bindable)
throw new GenericError('${expr.toString()} is not bindable.', expr.pos);
var zeroName = zeroListener.f.e.toString();
var zeroName = zeroListener.f.e.toString().replace(".", "_");
if (zeroName != "this")
res.init.unshift(macro var $zeroName = ${zeroListener.f.e});