Skip to content

posTwice testNonCyclic fails if dotc.CompilationUnit does not import Types.Type #3383

Closed
@nicolasstucki

Description

@nicolasstucki

If we remove the unused import import dotty.tools.dotc.core.Types.Type in dotty.tools.dotc.CompilationUnit the testNonCyclic fails in posTwice.

-- [E006] Unbound Identifier Error: ../compiler/src/dotty/tools/dotc/ast/Trees.scala:817:42 
817 |  abstract class Instance[T >: Untyped <: Type] extends DotClass { inst =>
    |                                          ^^^^
    |                                          not found: type Type

Note that the error manifests itself in another class.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions