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

Pickler regression: reference value refers to non-existent symbol. #3879

Closed
scabug opened this issue Sep 29, 2010 · 3 comments
Closed

Pickler regression: reference value refers to non-existent symbol. #3879

scabug opened this issue Sep 29, 2010 · 3 comments
Assignees

Comments

@scabug
Copy link

scabug commented Sep 29, 2010

Sometime between r23057 (which can compile the following) and r23112 (which cannot) a pickler bug was introduced. I reduced it to the following.

import scala.tools.nsc._

class SemanticTokens(val compiler: Global) {   
  import compiler._  

  def build() = ErrorType
  
  class Process {
    def f() = analyzer
    // or to crash the compiler instead of a nice message,
    // def f() = analyzer underlying _
  }
}
% /scala/inst/pack-r23112/bin/scalac -d /tmp test/pickler-bug.scala
error: class file needed by TypeDiagnostics is missing.
reference value ErrorType of scala.tools.nsc.symtab.Types refers to nonexisting symbol.
one error found
@scabug
Copy link
Author

scabug commented Sep 29, 2010

Imported From: https://issues.scala-lang.org/browse/SI-3879?orig=1
Reporter: @paulp

@scabug
Copy link
Author

scabug commented Sep 29, 2010

@hubertp said:
This would be r23059, I am going to revert my changes for 1591 in a second.

@scabug
Copy link
Author

scabug commented Sep 29, 2010

@hubertp said:
Reverted, so closing (I will handle it locally as part of proper fix for #1591).

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

No branches or pull requests

2 participants