Regression

tests.wurstscript.tests.NewFeatureTests.testMinusOne

Schlägt fehl seit 1 Build (Seit #1193 )
Dauer: 2,1 Sekunden.

Fehlermeldung

java.lang.Error: this expr should have been flattened: {
    i_785;
    Player156(i_785);
    >>>  null}

initPlayerArray156

Stacktrace

java.lang.Error: this expr should have been flattened: {
    i_785;
    Player156(i_785);
    >>>  null}

initPlayerArray156
	at de.peeeq.wurstscript.translation.imtojass.ExprTranslation.translate(ExprTranslation.java:98)
	at de.peeeq.wurstscript.jassIm.ImStatementExprImpl.translate(ImStatementExprImpl.java:172)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:61)
	at de.peeeq.wurstscript.jassIm.ImStatementExprImpl.translate(ImStatementExprImpl.java:168)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:82)
	at de.peeeq.wurstscript.jassIm.ImStmtsImpl.translate(ImStmtsImpl.java:76)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:30)
	at de.peeeq.wurstscript.jassIm.ImLoopImpl.translate(ImLoopImpl.java:143)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:82)
	at de.peeeq.wurstscript.jassIm.ImStmtsImpl.translate(ImStmtsImpl.java:76)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunction(ImToJassTranslator.java:171)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:123)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:120)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:120)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:120)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translate(ImToJassTranslator.java:57)
	at de.peeeq.wurstio.WurstCompilerJassImpl.transformProgToJass(WurstCompilerJassImpl.java:515)
	at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:467)
	at tests.wurstscript.tests.WurstScriptTest.testWithoutInliningAndOptimization(WurstScriptTest.java:373)
	at tests.wurstscript.tests.WurstScriptTest.access$000(WurstScriptTest.java:39)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.testScript(WurstScriptTest.java:196)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.run(WurstScriptTest.java:126)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.file(WurstScriptTest.java:219)
	at tests.wurstscript.tests.WurstScriptTest.testAssertOkFileWithStdLib(WurstScriptTest.java:319)
	at tests.wurstscript.tests.NewFeatureTests.testMinusOne(NewFeatureTests.java:23)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1204)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
	at org.testng.TestNG.runSuites(TestNG.java:1049)
	at org.testng.TestNG.run(TestNG.java:1017)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:140)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
	at com.sun.proxy.$Proxy2.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:132)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:175)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:157)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.base/java.lang.Thread.run(Thread.java:834)