Skip to content

Ycheck that trees are in place where they make sense #1023

@DarkDimius

Description

@DarkDimius

Motivated by #939
Currently dotty allows different trees to be in places where they shouldn't. Examples that I know are

  • TypeTree can be a qualifier of a Select node;
  • TypeTree can be a statement in Block.

I am pretty sure that other examples exist.
It would be great to trigger errors early in Ycheck, indicating which phase introduced such trees.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions