We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866ac14 commit c8265f1Copy full SHA for c8265f1
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -895,7 +895,7 @@ object desugar {
895
pats map {
896
case id: Ident =>
897
expandSimpleEnumCase(id.name.asTermName, mods,
898
- Span(pdef.span.start, id.span.end, id.span.start))
+ Span(id.span.start, id.span.end, id.span.start))
899
}
900
else {
901
val pats1 = if (tpt.isEmpty) pats else pats map (Typed(_, tpt))
0 commit comments