Add regression test
#KT-30131 Fixed
This commit is contained in:
@@ -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)
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user