Skip to content

Commit 2ae2dea

Browse files
committed
Fix compilation with Scala 2.12
1 parent 61f8c6b commit 2ae2dea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/ImportInfo.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ class ImportInfo(symf: Context => Symbol, val selectors: List[untpd.Tree],
134134
}
135135
}
136136
else
137-
for
137+
for {
138138
renamed <- reverseMapping.keys
139139
denot <- pre.member(reverseMapping(renamed)).altsWith(_ is implicitFlag)
140-
yield {
140+
} yield {
141141
val original = reverseMapping(renamed)
142142
val ref = TermRef(pre, original, denot)
143143
if (renamed == original) ref

0 commit comments

Comments
 (0)