Skip to content

Distinguish pattern bound symbol vs. case class flag usage #6178

Closed
@milessabin

Description

@milessabin

Follow on from #6172.

See comment by @smarter here.

See also, https://github.com/lampepfl/dotty/blob/7bcaa97bd98aa2e039fb90aba81c3fde98ec65fe/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala#L88-L91

Which suggests that maybe we shouldn't be using Case here at all?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions