Skip to content
New issue

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

missing symbol error not issued for annotations #6558

Closed
scabug opened this issue Oct 22, 2012 · 7 comments
Closed

missing symbol error not issued for annotations #6558

scabug opened this issue Oct 22, 2012 · 7 comments

Comments

@scabug
Copy link

scabug commented Oct 22, 2012

class AnnotNotFound {
  def foo(a: Any) = ()

  foo {
    @alsdfasjdflkasjdf
    def foo = 0
    foo
  }
}

Regressed in 2.10.0-M2, more specifically in scala/scala@c800d1

@scabug
Copy link
Author

scabug commented Oct 22, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6558?orig=1
Reporter: @retronym
Affected Versions: 2.10.0-M2, 2.10.0-M7

@scabug
Copy link
Author

scabug commented Oct 23, 2012

@hubertp said:
I asked many times if some good soul could work on tests for annotations as error reporting for them is absolutely uncovered.
Thanks for finding that one Jason.

@scabug
Copy link
Author

scabug commented Oct 23, 2012

@retronym said:
Actually, Iulian gets credit for finding this one.

@scabug
Copy link
Author

scabug commented Oct 29, 2012

@hubertp said:
scala/scala#1531

@scabug
Copy link
Author

scabug commented Oct 29, 2012

@adriaanm said:
unless this is a bad regression without a workaround, this will have to wait until 2.10.1

this is why testing is important and should be done much earlier in the development cycle

i'm sure there are more errors we don't catch, so let's make a push in the beginning of the 2.10.1 cycle to catch more of these

@scabug
Copy link
Author

scabug commented Oct 30, 2012

@hubertp said:

  1. it's a regression
  2. user compiles this and gets a classfile even though there was an error.

I would assume that this classifies as a blocker.

@scabug
Copy link
Author

scabug commented Dec 2, 2012

@retronym said:
Resubmitted to 2.10.x as scala/scala#1691

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants