diff --git a/Core/EVIL.Grammar/AST/Statements/TryStatement.cs b/Core/EVIL.Grammar/AST/Statements/TryStatement.cs index ba0fa73..9682cb2 100644 --- a/Core/EVIL.Grammar/AST/Statements/TryStatement.cs +++ b/Core/EVIL.Grammar/AST/Statements/TryStatement.cs @@ -16,9 +16,7 @@ public TryStatement(Statement innerStatement, IdentifierNode handlerExceptionLoc HandlerExceptionLocal = handlerExceptionLocal; HandlerStatement = handlerStatement; - Reparent(InnerStatement); - Reparent(HandlerExceptionLocal); - Reparent(HandlerStatement); + Reparent(InnerStatement, HandlerExceptionLocal, HandlerStatement); } } } \ No newline at end of file