mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
wasm: fix error in ClassMetadataRequirements causing compiler crash
This commit is contained in:
parent
8d276f2efd
commit
dd2e4bb001
|
@ -64,7 +64,7 @@ public class ClassMetadataRequirements {
|
|||
|
||||
var isAssignableMethod = dependencyInfo.getMethod(IS_ASSIGNABLE_METHOD);
|
||||
if (isAssignableMethod != null) {
|
||||
var classNames = getSuperclassMethod.getVariable(0).getClassValueNode().getTypes();
|
||||
var classNames = isAssignableMethod.getVariable(0).getClassValueNode().getTypes();
|
||||
for (var className : classNames) {
|
||||
requirements.computeIfAbsent(decodeType(className), k -> new ClassInfo()).isAssignable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user