KT-63096 [LL] Add test for using annotation from other module for compiler plugin
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// WITH_FIR_TEST_COMPILER_PLUGIN
|
||||
// MODULE: lib
|
||||
|
||||
// FILE: foo/MyAnnotation.kt
|
||||
package foo
|
||||
|
||||
annotation class MyAnnotation
|
||||
|
||||
// MODULE: main(lib)
|
||||
|
||||
// FILE: test/main.kt
|
||||
package test
|
||||
|
||||
@foo.MyAnnotation
|
||||
class MyClass
|
||||
|
||||
fun test(myClass: MyClass) {
|
||||
myClass.mater<caret>ialize()
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
KtSuccessCallInfo:
|
||||
call = KtSimpleFunctionCall:
|
||||
isImplicitInvoke = false
|
||||
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
||||
dispatchReceiver = KtExplicitReceiverValue:
|
||||
expression = myClass
|
||||
isSafeNavigation = false
|
||||
type = test.MyClass
|
||||
extensionReceiver = null
|
||||
signature = KtFunctionLikeSignature:
|
||||
receiverType = null
|
||||
returnType = test.MyClass
|
||||
symbol = test/MyClass.materialize(<dispatch receiver>: test.MyClass): test.MyClass
|
||||
valueParameters = []
|
||||
callableIdIfNonLocal = test/MyClass.materialize
|
||||
typeArgumentsMapping = {}
|
||||
argumentMapping = {}
|
||||
Reference in New Issue
Block a user