You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the CI is failing on main branch because of the PR #22473.
The errors only happen in "Test Suite with the CC Standard Library". Maybe related to cc library compiled in explicit nulls?
One of the failed tests is a debug test introduced by #22597, but the error message does not give much information...
Error:Debug step failed: tests/debug-custom-args/eval-explicit-nulls.check:3Evaluationfailed:
-- [E170] TypeError: <expression class>:12:28-------------------------------------------------------------------------12|if idx ==-1thenthrownewNoSuchElementException(name)
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|NoSuchElementException is not a classtype|| longer explanation available when compiling with`-explain`-- [E170] TypeError: <expression class>:18:28-------------------------------------------------------------------------18|if idx ==-1thenthrownewNoSuchElementException(name)
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|NoSuchElementException is not a classtype|| longer explanation available when compiling with`-explain`Error:Test dotty.tools.debug.DebugTests.debug failed: java.lang.AssertionError:Debug test failed, but should not, reasons:
Error: encountered 1 test failure(s):Error:- generic failure (see test output), took 74.963 sec
Error: at dotty.tools.vulpix.ParallelTesting$CompilationTest.checkPass(ParallelTesting.scala:1269)
Error: at dotty.tools.debug.DebugTests$.dotty$tools$debug$DebugTests$$$checkDebug(DebugTests.scala:45)
Error: at dotty.tools.debug.DebugTests.debug(DebugTests.scala:23)
Error: at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
Error: at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
Error: at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error: at java.lang.reflect.Method.invoke(Method.java:569)
Error: ...
Have you found a way to reproduce it in sbt? I haven't yet.
I would guess it's probably some interaction between CC, which wraps types in Tasty inside AnnotatedType, and #22473, which wraps types coming from Tasty in a FlexibleType. Maybe the two wrappers are interfering and the check for a class type can't see through both of them.
But first I need to be able to reproduce it outside of the CI.
It seems the CI is failing on main branch because of the PR #22473.
The errors only happen in "Test Suite with the CC Standard Library". Maybe related to cc library compiled in explicit nulls?
One of the failed tests is a debug test introduced by #22597, but the error message does not give much information...
cc @HarrisL2 @olhotak
The text was updated successfully, but these errors were encountered: