rsc
rsc copied to clipboard
Scalasig not recursing into package type for prefix
Rsc misses out on including the package type as a prefix.
package foo
object O {
class D
}
class C extends O.D
tag: CLASSINFOtpe
sym: foo.#C#
parents {
tag: TYPEREFtpe
pre {
- tag: SINGLEtpe
- pre {
- tag: THIStpe
- sym: foo.#
- }
- sym: foo.#O.
+ tag: THIStpe
+ sym: foo.#O.#
}
sym: foo.#O.#D#
}
}
}
Intriguingly, naively recursing into the prefixes for emitting causes return type information to be wrong:
info {
tag: METHODtpe
ret {
tag: TYPEREFtpe
pre {
- tag: THIStpe
- sym: foo.#O.#
+ tag: SINGLEtpe
+ pre {
+ tag: THIStpe
+ sym: foo.#
+ }
+ sym: foo.#O.
}
sym: foo.#O.#D#
}
}
}