AA: showcase an error in resolution to stdlib in standalone mode
This commit is contained in:
+6
@@ -454,6 +454,12 @@ public class FirLibrarySourceReferenceResolveTestGenerated extends AbstractRefer
|
|||||||
runTest("analysis/analysis-api/testData/referenceResolve/thisWithLabelToProperty_caretAtThis.kt");
|
runTest("analysis/analysis-api/testData/referenceResolve/thisWithLabelToProperty_caretAtThis.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("todo.kt")
|
||||||
|
public void testTodo() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/referenceResolve/todo.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TopLevelClassVsLocalClassConstructor.kt")
|
@TestMetadata("TopLevelClassVsLocalClassConstructor.kt")
|
||||||
public void testTopLevelClassVsLocalClassConstructor() throws Exception {
|
public void testTopLevelClassVsLocalClassConstructor() throws Exception {
|
||||||
|
|||||||
+6
@@ -454,6 +454,12 @@ public class FirSourceReferenceResolveTestGenerated extends AbstractReferenceRes
|
|||||||
runTest("analysis/analysis-api/testData/referenceResolve/thisWithLabelToProperty_caretAtThis.kt");
|
runTest("analysis/analysis-api/testData/referenceResolve/thisWithLabelToProperty_caretAtThis.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("todo.kt")
|
||||||
|
public void testTodo() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/referenceResolve/todo.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TopLevelClassVsLocalClassConstructor.kt")
|
@TestMetadata("TopLevelClassVsLocalClassConstructor.kt")
|
||||||
public void testTopLevelClassVsLocalClassConstructor() throws Exception {
|
public void testTopLevelClassVsLocalClassConstructor() throws Exception {
|
||||||
|
|||||||
+6
@@ -44,4 +44,10 @@ public class StandaloneModeSingleModuleTestGenerated extends AbstractStandaloneM
|
|||||||
public void testSingleFile() throws Exception {
|
public void testSingleFile() throws Exception {
|
||||||
runTest("analysis/analysis-api/testData/standalone/singleModule/singleFile.kt");
|
runTest("analysis/analysis-api/testData/standalone/singleModule/singleFile.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("todo.kt")
|
||||||
|
public void testTodo() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/standalone/singleModule/todo.kt");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package test.pkg
|
||||||
|
|
||||||
|
class Foo {
|
||||||
|
fun bar(): Nothing = TO<caret>DO("Not implemented yet")
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Resolved to:
|
||||||
|
0: (in kotlin) inline fun TODO(reason: kotlin.String): kotlin.Nothing
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
|
|
||||||
|
package test.pkg
|
||||||
|
|
||||||
|
class Foo {
|
||||||
|
fun bar() = TO<caret>DO("Not implemented yet")
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Resolved to:
|
||||||
Reference in New Issue
Block a user