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

Un-positioned error message for language features #6952

Closed
scabug opened this issue Jan 9, 2013 · 4 comments
Closed

Un-positioned error message for language features #6952

scabug opened this issue Jan 9, 2013 · 4 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Jan 9, 2013

The following program shows an error, but it's not attached to the position where this language feature is used. It's quite hard to locate them in a large code base.

See issue in the IDE tracker: https://www.assembla.com/spaces/scala-ide/tickets/1001409#/activity/ticket:

class Dyna extends Dynamic {}
error: extension of type scala.Dynamic needs to be enabled
by making the implicit value language.dynamics visible.
This can be achieved by adding the import clause 'import scala.language.dynamics'
or by setting the compiler option -language:dynamics.
See the Scala docs for value scala.language.dynamics for a discussion
why the feature needs to be explicitly enabled.
one error found
@scabug
Copy link
Author

scabug commented Jan 9, 2013

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

@scabug
Copy link
Author

scabug commented Jan 15, 2013

@adriaanm said:
Hi Nada, could you have a look in time for 2.10.1-RC1?

@scabug
Copy link
Author

scabug commented Jan 15, 2013

@namin said:
Sure.

@scabug
Copy link
Author

scabug commented Jan 20, 2013

@retronym said:
scala/scala#1907

@scabug scabug closed this as completed Jan 25, 2013
@scabug scabug added this to the 2.10.1 milestone Apr 7, 2017
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