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
Copy-pasteable repro.
cat << EOF > Fuzbar.java package fuz; public interface Fuzbar { public String str(); } EOF cat << EOF > a.scala object a extends fuz.Fuzbar { override def str = "" str()()()()()() } EOF dotc a.scala Fuzbar.java // compiles OK, expected error $ dotc -version 0.4.0-bin-SNAPSHOT-nonbootstrapped-git-d70b8f4
I expected dotty to report an error like below
-- Error: a.scala:5:6 ---------------------------------------------------------- 5 | str()()()() | ^^^^^ | missing argument for parameter index of method apply: (index: Int): Char
Related #2570
The text was updated successfully, but these errors were encountered:
ee265a6
Merge pull request #3772 from dotty-staging/fix-#3012
aa6459e
Fix #3012: Avoid swallowing multiple ()'s
No branches or pull requests
Copy-pasteable repro.
I expected dotty to report an error like below
Related #2570
The text was updated successfully, but these errors were encountered: