Fehlschlag

tests.wurstscript.tests.NewFeatureTests.testVarargInvalidOverload

Schlägt fehl seit 4 Builds (Seit #679 )
Dauer: 2 ms.

Fehlermeldung

Error in File testVarargInvalidOverload line 11:
 Call to function foo is ambiguous. Alternatives are:
  * function foo defined in line 3 (testVarargInvalidOverload)
 * function foo defined in line 5 (testVarargInvalidOverload)

Stacktrace

Error in File testVarargInvalidOverload line 11:
 Call to function foo is ambiguous. Alternatives are:
  * function foo defined in line 3 (testVarargInvalidOverload)
 * function foo defined in line 5 (testVarargInvalidOverload)
	at de.peeeq.wurstscript.attributes.ErrorHandling.makeCompileError(ErrorHandling.java:35)
	at de.peeeq.wurstscript.attributes.ErrorHandling.addErrorOrWarning(ErrorHandling.java:25)
	at de.peeeq.wurstscript.attributes.ErrorHandling.addError(ErrorHandling.java:15)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.addError(ExprFunctionCallImpl.java:525)
	at de.peeeq.wurstscript.attributes.AttrFuncDef.searchFunction(AttrFuncDef.java:175)
	at de.peeeq.wurstscript.attributes.AttrFuncDef.calculate(AttrFuncDef.java:85)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrFuncDef(ExprFunctionCallImpl.java:556)
	at de.peeeq.wurstscript.attributes.AttrImplicitParameter.getImplicitParamterCaseNormalFunctionCall(AttrImplicitParameter.java:59)
	at de.peeeq.wurstscript.attributes.AttrImplicitParameter.getImplicitParameter(AttrImplicitParameter.java:36)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrImplicitParameter(ExprFunctionCallImpl.java:384)
	at de.peeeq.wurstscript.attributes.AttrPossibleFunctionSignatures.calculate(AttrPossibleFunctionSignatures.java:23)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrPossibleFunctionSignatures(ExprFunctionCallImpl.java:450)
	at de.peeeq.wurstscript.attributes.AttrFunctionSignature.calculate(AttrFunctionSignature.java:15)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrFunctionSignature(ExprFunctionCallImpl.java:464)
	at de.peeeq.wurstscript.attributes.AttrExprType.calculate(AttrExprType.java:416)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrTypRaw(ExprFunctionCallImpl.java:342)
	at de.peeeq.wurstscript.attributes.AttrExprType.normalizedType(AttrExprType.java:510)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrTyp(ExprFunctionCallImpl.java:314)
	at de.peeeq.wurstscript.attributes.AttrExprType.calculate(AttrExprType.java:207)
	at de.peeeq.wurstscript.ast.ExprBinaryImpl.attrTypRaw(ExprBinaryImpl.java:229)
	at de.peeeq.wurstscript.attributes.AttrExprType.normalizedType(AttrExprType.java:510)
	at de.peeeq.wurstscript.ast.ExprBinaryImpl.attrTyp(ExprBinaryImpl.java:201)
	at de.peeeq.wurstscript.attributes.AttrExprType.calculate(AttrExprType.java:207)
	at de.peeeq.wurstscript.ast.ExprBinaryImpl.attrTypRaw(ExprBinaryImpl.java:229)
	at de.peeeq.wurstscript.attributes.AttrExprType.normalizedType(AttrExprType.java:510)
	at de.peeeq.wurstscript.ast.ExprBinaryImpl.attrTyp(ExprBinaryImpl.java:201)
	at de.peeeq.wurstscript.attributes.AttrExprType.calculate(AttrExprType.java:207)
	at de.peeeq.wurstscript.ast.ExprBinaryImpl.attrTypRaw(ExprBinaryImpl.java:229)
	at de.peeeq.wurstscript.attributes.AttrExprType.normalizedType(AttrExprType.java:510)
	at de.peeeq.wurstscript.ast.ExprBinaryImpl.attrTyp(ExprBinaryImpl.java:201)
	at de.peeeq.wurstscript.validation.WurstValidator.visit(WurstValidator.java:975)
	at de.peeeq.wurstscript.validation.WurstValidator.check(WurstValidator.java:306)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:211)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214)
	at de.peeeq.wurstscript.validation.WurstValidator.validate(WurstValidator.java:59)
	at de.peeeq.wurstscript.WurstChecker.checkProg(WurstChecker.java:46)
	at de.peeeq.wurstio.WurstCompilerJassImpl.checkProg(WurstCompilerJassImpl.java:326)
	at de.peeeq.wurstio.WurstCompilerJassImpl.checkProg(WurstCompilerJassImpl.java:314)
	at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:178)
	at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:160)
	at tests.wurstscript.tests.WurstScriptTest.testAssertErrors(WurstScriptTest.java:139)
	at tests.wurstscript.tests.WurstScriptTest.testAssertErrorsLines(WurstScriptTest.java:100)
	at tests.wurstscript.tests.NewFeatureTests.testVarargInvalidOverload(NewFeatureTests.java:571)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:571)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:707)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:979)
	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:1187)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1183)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1116)
	at org.testng.TestNG.runSuites(TestNG.java:1028)
	at org.testng.TestNG.run(TestNG.java:996)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:133)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:83)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
	at org.gradle.messaging.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:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)