This commit is contained in:
Бондарев Иван 2018-08-09 21:31:28 +02:00
parent f5aabc481c
commit 39042e06a9
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,14 @@
begin
var i := 0;
var p: procedure := ()->try
raise new Exception('test');
except
on ex: Exception do
begin
i := 1;
end;
end;
p;
assert(i = 1);
end.

View file

@ -129,6 +129,11 @@ namespace TreeConverter.LambdaExpressions.Closure
}
}
public override void visit(exception_handler _exception_handler)
{
ProcessNode(_exception_handler.statements);
}
public override void visit(ident id)
{
var idName = id.name.ToLower();