Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider the following:
trait T { def <X> X m(x) {x} @TypeChecked def test() { Number n = 1 n = this.<Object>m(n) // should fail STC } }