Semantic highlighting: self reference not highlighted if it is imported
The following example shows, that a self reference to ab.S is not correctly highlighted if it is imported before.
package ab {
trait S
}
package cd {
trait K { self: ab.S => } // correct
import ab.S
trait M { self: S => } // wrong
}
Leave a comment
on 2012-08-20 15:17 *
By Simon Schäfer
Version changed from 2.0.2-final-29 to 2.1.0-nightly-210
Assigned to changed from Simon Schäfer to -none-
This could not be solved until scalac stores more information in the AST.
on 2015-12-01 06:24 *
By wpopielarski769697
Version changed from 2.1.0-nightly-210 to 4.3.0
Milestone set to No Milestone Backlog