Uast: don't throw exception if can't get a receiver parameter for annotation (KT-40494)
This commit is contained in:
@@ -2,7 +2,11 @@ public final class ReceiverFunKt {
|
||||
public static final fun foo(@MyReceiverAnnotation @org.jetbrains.annotations.NotNull $this$foo: java.lang.String) : int {
|
||||
return this.length
|
||||
}
|
||||
public static final fun getRx(@org.jetbrains.annotations.NotNull $this$rx: java.lang.String) : kotlin.text.Regex {
|
||||
return toRegex()
|
||||
}
|
||||
}
|
||||
|
||||
public abstract annotation MyReceiverAnnotation {
|
||||
public abstract fun name() : java.lang.String = UastEmptyExpression
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user