mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 12:00:25 +00:00
Fixed negation bug.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1 @@
|
||||
try {
|
||||
var x = 100;
|
||||
doSomething(x);
|
||||
} catch {
|
||||
errorHandling();
|
||||
}
|
||||
var x = !foo();
|
||||
|
||||
Reference in New Issue
Block a user