Classes extending Dynamic when it is not in scope only gives an error in the problem view, not in the editor
If you have a class that extends Dynamic, eg:
You get an error in the problems view, "extension of type scala.Dynamic needs to be enabled by...". However, this does not show up in the editor.
I would expect it to have a red "x" on the line with "class A extends Dynamic".
Additionally, double clicking on the error in the problems view does nothing. It should take you to the file and line declaring "class A".
A.scala:
class A extends Dynamic {}
You get an error in the problems view, "extension of type scala.Dynamic needs to be enabled by...". However, this does not show up in the editor.
I would expect it to have a red "x" on the line with "class A extends Dynamic".
Additionally, double clicking on the error in the problems view does nothing. It should take you to the file and line declaring "class A".
Leave a comment
This is a problem in the Scala compiler: it emits error messages without position information. I created SI-6952.
The missing warnings are also part of limitations in the presentation compiler. I'll mark the ticket as invalid, and please follow developments on the Scala issue tracker, as the fix has to come from there.
The missing warnings are also part of limitations in the presentation compiler. I'll mark the ticket as invalid, and please follow developments on the Scala issue tracker, as the fix has to come from there.