mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fixes dependency checker bug
This commit is contained in:
parent
31b9525309
commit
90a077fc34
|
@ -54,9 +54,6 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<minifying>false</minifying>
|
<minifying>false</minifying>
|
||||||
<numThreads>1</numThreads>
|
<numThreads>1</numThreads>
|
||||||
<wildcards>
|
|
||||||
<param>**.ArraysTest</param>
|
|
||||||
</wildcards>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|
|
@ -38,11 +38,11 @@ class DependencyNodeToNodeTransition implements DependencyConsumer {
|
||||||
}
|
}
|
||||||
if (type.startsWith("[")) {
|
if (type.startsWith("[")) {
|
||||||
type = "java.lang.Object";
|
type = "java.lang.Object";
|
||||||
|
source.getArrayItem().connect(destination.getArrayItem());
|
||||||
|
destination.getArrayItem().connect(source.getArrayItem());
|
||||||
}
|
}
|
||||||
if (!destination.hasType(type)) {
|
if (!destination.hasType(type)) {
|
||||||
destination.propagate(type);
|
destination.propagate(type);
|
||||||
}
|
}
|
||||||
source.getArrayItem().connect(destination.getArrayItem());
|
|
||||||
destination.getArrayItem().connect(source.getArrayItem());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user