Add regression test

#KT-30131 Fixed
This commit is contained in:
Dmitry Gridin
2020-06-23 18:03:14 +07:00
parent d8fa617bfd
commit abfc74c8b2
3 changed files with 16 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
fun main() {
val foo<caret> = Foo<List<String>>(listOf())
foo
}
class Foo<A>(first: A)
@@ -0,0 +1,5 @@
fun main() {
Foo<List<String>>(listOf())
}
class Foo<A>(first: A)
@@ -60,6 +60,11 @@ public class InlineTestGenerated extends AbstractInlineTest {
runTest("idea/testData/refactoring/inline/function/Kt19459.kt");
}
@TestMetadata("Kt30131.kt")
public void testKt30131() throws Exception {
runTest("idea/testData/refactoring/inline/function/Kt30131.kt");
}
@TestMetadata("LocalCapturing.kt")
public void testLocalCapturing() throws Exception {
runTest("idea/testData/refactoring/inline/function/LocalCapturing.kt");