Closed
Description
minimized code
Because intersection types and union types are pickled in TASTy to applied type trees of imaginary types scala.&
and scala.|
, all implementations must intercept these names, when they could be reified as the intrinsic types that they are.
trait A
trait B
type AwithB = A with B // pickles to scala.&[A,B]
type AandB = A & B // pickles to scala.&[A,B]
type AorB = A | B // pickles to scala.|[A,B]
expectation
maybe new tags ANDtpt
and ORtpt