Skip to content

tests/generic-java-signatures/derivedNames.scala fails on macOS #12917

Closed
@changvvb

Description

@changvvb

Compiler version

3.0.0

Minimized example

sbt testCompilation derivedNames

Output

Exception in thread "main" java.lang.reflect.InvocationTargetException
        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:498)
        at dotty.tools.vulpix.ChildJVMMain.runMain(ChildJVMMain.java:40)
        at dotty.tools.vulpix.ChildJVMMain.main(ChildJVMMain.java:47)
Caused by: java.lang.AssertionError: assertion failed: Test$Foo$A<Test$Foo<T1>$B$> != Test$Foo.Test$Foo$A<Test.Test$Foo<T1>.B$>
        at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
        at Test$.main(derivedNames.scala:12)
        at Test.main(derivedNames.scala)
        ... 6 more

Expectation

No test failed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions