Skip to content

Commit 6ee3260

Browse files
committed
Update implicit modifier test
Now we keep only flags on the parameters (except the first one), so that parameter positions don't overlap.
1 parent 56d644f commit 6ee3260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/parsing/ModifiersParsingTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ModifiersParsingTest {
137137

138138
source = parse("def f(implicit a: Int, b: Int) = ???")
139139
assert(source.defParam(0).modifiers == List(Mod.Implicit()))
140-
assert(source.defParam(1).modifiers == List(Mod.Implicit()))
140+
assert(source.defParam(1).modifiers == List())
141141

142142
source = parse("def f(x: Int, y: Int)(implicit a: Int, b: Int) = ???")
143143
assert(source.defParam(0, 0).modifiers == List())

0 commit comments

Comments
 (0)