Fixed negation bug.

This commit is contained in:
Marvin Blum
2015-10-25 14:03:04 +01:00
parent c3c4ca6f7d
commit d542562022
6 changed files with 30 additions and 30 deletions

View File

@@ -33,7 +33,10 @@ if !(isNil()(_getunit)) {
call()(compile()(format()("_unit = %1", _getunit)));
if local()(_unit) {
// try...catch
try {
execVM(_unit)(_file);
} catch {
// do nothing
}
}
}

View File

@@ -1,6 +1 @@
try {
var x = 100;
doSomething(x);
} catch {
errorHandling();
}
var x = !foo();