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
Type checker looks for accessor in package #1094
Comments
Imported From: https://issues.scala-lang.org/browse/SI-1094?orig=1 |
@gaydenko said: |
@dubochet said: |
@gaydenko said: |
@gaydenko said:
package po
protected object Obj { def f = {} }
package po.sub
import po.Obj
class ObjCall { Obj.f } All these give: "An internal error occurred during: "Building Workspace". no acc def buf for package po". Helpful? |
@dubochet said: I've rewritten the test case as a single file and updated the bug description. |
@odersky said: |
scala-at-kalucki.com (jkalucki) said: In my case, the base package had package scoped protected (e.g. protected[packagename]) declarations that tickled this issue. |
@dragos said: |
Compile the following code.
The compiler crashes with the following stack trace.
The text was updated successfully, but these errors were encountered: