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>
|
||||
<minifying>false</minifying>
|
||||
<numThreads>1</numThreads>
|
||||
<wildcards>
|
||||
<param>**.ArraysTest</param>
|
||||
</wildcards>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
|
|
@ -38,11 +38,11 @@ class DependencyNodeToNodeTransition implements DependencyConsumer {
|
|||
}
|
||||
if (type.startsWith("[")) {
|
||||
type = "java.lang.Object";
|
||||
source.getArrayItem().connect(destination.getArrayItem());
|
||||
destination.getArrayItem().connect(source.getArrayItem());
|
||||
}
|
||||
if (!destination.hasType(type)) {
|
||||
destination.propagate(type);
|
||||
}
|
||||
source.getArrayItem().connect(destination.getArrayItem());
|
||||
destination.getArrayItem().connect(source.getArrayItem());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user