Skip to content

Commit a2e9a1b

Browse files
committed
Fixed position error in Parsers detected by Hub...
Fixed position error in Parsers detected by Hubert.
1 parent 2891464 commit a2e9a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/ast/parser/Parsers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2667,7 +2667,7 @@ self =>
26672667
else List(
26682668
AppliedTypeTree(
26692669
productConstrN(arity),
2670-
vparamss.head map (vd => vd.tpt)
2670+
vparamss.head map (vd => vd.tpt.duplicate setPos vd.tpt.pos.focus)
26712671
)
26722672
)
26732673
}

0 commit comments

Comments
 (0)