We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Exhibit #1:
import language.dynamics object Foo extends Dynamic { def selectDynamic(name: String) = ??? println(this.bar[Int]) }
[[syntax trees at end of typer]] // Test.scala package <empty> { import scala.language.dynamics; object Foo extends AnyRef with Dynamic { def <init>(): Foo.type = { Foo.super.<init>(); () }; def selectDynamic(name: String): Nothing = scala.this.Predef.???; scala.this.Predef.println(this.selectDynamic("bar")) } }
Exhibit #2:
import language.dynamics object Foo extends Dynamic { def selectDynamic[T](name: String) = ??? println(this.bar[Int]) }
[[syntax trees at end of typer]] // Test.scala package <empty> { import scala.language.dynamics; object Foo extends AnyRef with Dynamic { def <init>(): Foo.type = { Foo.super.<init>(); () }; def selectDynamic[T >: Nothing <: Any](name: String): Nothing = scala.this.Predef.???; scala.this.Predef.println(this.selectDynamic[Nothing]("bar")) } }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6731?orig=1 Reporter: @xeno-by Affected Versions: 2.10.0-RC2
Sorry, something went wrong.
@paulp said: This needed a rewrite. Patch pending.
@paulp said: scala/scala#1681
paulp
No branches or pull requests
Exhibit #1:
Exhibit #2:
The text was updated successfully, but these errors were encountered: