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 e8aee47 commit 0cd54fbCopy full SHA for 0cd54fb
presentation-compiler/src/main/dotty/tools/pc/InferredTypeProvider.scala
@@ -182,8 +182,7 @@ final class InferredTypeProvider(
182
typeNameEdit ::: imports
183
184
rhs match
185
- case t: Tree[?]
186
- if !tpt.sourcePos.span.isZeroExtent =>
+ case t: Tree[?] if !tpt.sourcePos.span.isZeroExtent =>
187
inferredTypeEdits(
188
Some(
189
AdjustTypeOpts(
@@ -223,8 +222,7 @@ final class InferredTypeProvider(
223
222
while i >= 0 && sourceText(i) != ':' do i -= 1
224
i
225
226
227
228
229
230
0 commit comments