mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fixes dependency propagation of exceptions
This commit is contained in:
parent
8541e40f36
commit
04de57627f
|
@ -84,7 +84,7 @@ class DependencyGraphBuilder {
|
|||
if (tryCatch.getExceptionType() != null) {
|
||||
exceptions[i] = dependencyChecker.getClassSource().get(tryCatch.getExceptionType());
|
||||
}
|
||||
vars[i] = methodDep.getVariable(i);
|
||||
vars[i] = methodDep.getVariable(tryCatch.getExceptionVariable().getIndex());
|
||||
}
|
||||
return new ExceptionConsumer(dependencyChecker, exceptions, vars, methodDep);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user