Skip to content

Cyclic reference in type is not detected #15507

Closed
@odersky

Description

@odersky

Compiler version

3.2.0-RC1

Minimized code

type _NestedSet2[_] = Set[_NestedSet2[?]]

Output

Compiles, but reduces the right hand side to Set[Any].

Expectation

Definition should be rejected since it contains a cycle.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions