scalacenter / tasty-reader-compat-testkit

Validating the TASTy Reader for Scala 2 with external projects that are published for Scala 3
8 stars 3 forks source link

Top level type aliases break #2

Open ashwinbhaskar opened 4 years ago

ashwinbhaskar commented 4 years ago

Importing Top level type aliases (defined in dotty) doesn't seem to work when compiling with scala-2.13.2-SNAPSHOT-withtastyreader. This line fails to compile. The dotty library that I have imported is this

bishabosha commented 4 years ago

Hey thank for reporting this, so I will have to see if top level definition wrappers can be treated as package objects. As a workaround for now, you can explicitly reference the wrapper with Types$package