Skip to content

Commit 64e95f7

Browse files
author
builduser
committed
Merged branch idea251.x-pavelfatin into idea251.x
2 parents 51a0aa8 + d00642c commit 64e95f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scala/scala-impl/test/org/jetbrains/plugins/scala/lang/typeInference/LocalTypeInferenceExpectedTypeTest.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,10 @@ class LocalTypeInferenceExpectedTypeTest extends ScalaLightCodeInsightFixtureTes
176176
|}
177177
""".stripMargin
178178
)
179+
180+
def testSCL23800(): Unit = checkHasErrorAroundCaret(
181+
s"""object A {
182+
| val _: Int = $CARET"1"
183+
|}""".stripMargin
184+
)
179185
}

0 commit comments

Comments
 (0)