Fix ultra light class generation for private suspend methods
This commit is contained in:
+3
-1
@@ -21,10 +21,12 @@ UFile (package = test.pkg)
|
||||
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
UIdentifier (Identifier (suspendPrivate))
|
||||
USimpleNameReferenceExpression (identifier = suspendPrivate, resolvesTo = null)
|
||||
UMethod (name = Context)
|
||||
UMethod (name = suspendPrivate)
|
||||
UParameter (name = $completion)
|
||||
UAnnotation (fqName = null)
|
||||
UBlockExpression
|
||||
UReturnExpression
|
||||
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
UIdentifier (Identifier (inner))
|
||||
USimpleNameReferenceExpression (identifier = inner, resolvesTo = null)
|
||||
UMethod (name = Context)
|
||||
|
||||
+3
-1
@@ -21,10 +21,12 @@ UFile (package = test.pkg)
|
||||
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
UIdentifier (Identifier (suspendPrivate))
|
||||
USimpleNameReferenceExpression (identifier = suspendPrivate, resolvesTo = null)
|
||||
UMethod (name = Context)
|
||||
UMethod (name = suspendPrivate)
|
||||
UParameter (name = $completion)
|
||||
UAnnotation (fqName = null)
|
||||
UBlockExpression
|
||||
UReturnExpression
|
||||
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
UIdentifier (Identifier (inner))
|
||||
USimpleNameReferenceExpression (identifier = inner, resolvesTo = null)
|
||||
UMethod (name = Context)
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ public final class Context {
|
||||
public final fun inner(@org.jetbrains.annotations.NotNull $completion: kotlin.coroutines.Continuation<? super java.lang.Integer>) : java.lang.Object {
|
||||
return suspendPrivate()
|
||||
}
|
||||
public fun Context() = UastEmptyExpression
|
||||
fun suspendPrivate() : int {
|
||||
private final fun suspendPrivate(@null $completion: kotlin.coroutines.Continuation<? super java.lang.Integer>) : java.lang.Object {
|
||||
return inner()
|
||||
}
|
||||
public fun Context() = UastEmptyExpression
|
||||
}
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ public final class Context {
|
||||
public final fun inner(@org.jetbrains.annotations.NotNull $completion: kotlin.coroutines.Continuation<? super java.lang.Integer>) : java.lang.Object {
|
||||
return suspendPrivate()
|
||||
}
|
||||
public fun Context() = UastEmptyExpression
|
||||
fun suspendPrivate() : int {
|
||||
private final fun suspendPrivate(@null $completion: kotlin.coroutines.Continuation<? super java.lang.Integer>) : java.lang.Object {
|
||||
return inner()
|
||||
}
|
||||
public fun Context() = UastEmptyExpression
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user