We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
% qscalac sandbox/{Test.java,test.scala} sandbox/Test.java:2: error: `;' expected but `{' found. public static int foo() { ^ one error found topic/scalap-lite ~/scala tail -n100 sandbox/{Test.java,test.scala} ==> sandbox/Test.java <== public interface Test { public static int foo() { return 42; } } class JavaTest { static { System.out.println(Test.foo()); } } ==> sandbox/test.scala <== object Test { Foo.test() }
See: http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html#static
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8852?orig=1 Reporter: @retronym Affected Versions: 2.11.2
Sorry, something went wrong.
@retronym said: scala/scala#3989
retronym
No branches or pull requests
See: http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html#static
The text was updated successfully, but these errors were encountered: