Skip to content

Outer class type parameters are never added to inner classes in ClassFileParser #413

Closed
@DarkDimius

Description

@DarkDimius

https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala#L141-L144 those lines are dead code.

I guess, that the reason is different handling of owner in scalac and dotty. For example for 'scalac' owner of class-path-loaded scala.collection.TraversableLike$WithFilter will be scala.collection.TraversableLike. But for dotty it would be scala.collection., that obviously has no type parameters.

this triggers failures in
#406 and #411

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions