Good code red: Cyclic traits with types defined in base trait doesn't compile
Bug# SCL-2393
Consider:
it IJTest {
self : MySub =>
type FooType
protected implicit def d : FooType // <- Error on "FooType". Commenting out the self: MySub above causes things to work.
}
trait MySub extends IJTest {
type FooType = Long
}
This compiles fine with the scala compiler. This is in Idea X, latest (as of Sept 26th).
Thanks,
Dave
Please sign in to leave a comment.