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
--Error:Test.java:3:4--------------------------------------------------------3|Foo() {}
|^| non-private constructor Foo in classFoo refers to privateclassFoo| in its typesignature ():Test.Foo1 error found
expectation
The Java compiler is happy to accept this code, and this is minimized from a mixed Scala and Java project that I'm trying to migrate from Scala 2 where this Java code has never been a problem.