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

Qualifier of synthetic select applyDynamicNamed should have an opaque position #8130

Open
scabug opened this issue Jan 9, 2014 · 3 comments

Comments

@scabug
Copy link

scabug commented Jan 9, 2014

The kind of position assigned to the qualifier d in the below example is incorrect, and this result in incorrect hyperlinking and semantic highlighting in the Scala IDE

object X {
      val d = new D
      d(10) // <-- hyperlinking on `d` should jump to the declaration just above
    }

import language.dynamics
class D extends Dynamic {
  def applyDynamic(name: String)(value: Any) = ???
}

Hyperlinking on d should resolve to the declaration of d, not the applyDynamic method in class D.

@scabug
Copy link
Author

scabug commented Jan 9, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8130?orig=1
Reporter: @dotta
Affected Versions: 2.11.0-M7

@scabug
Copy link
Author

scabug commented Jan 9, 2014

@dotta said:
scala/scala#3337

@scabug
Copy link
Author

scabug commented Jan 9, 2014

@dotta said:
This ticket and #8125 are very much related.

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

3 participants