Since '@A R.() -> T' is now parsed as '@A (R.() -> T)',
receiver type with modifiers or annotations should be surrounded in parentheses on rendering: '(@A R).() -> T' This also fixes stub builder tests (which check that stubs are consistent with rendered descriptors).
This commit is contained in:
committed by
Stanislav Erokhin
parent
6e1340da82
commit
cf4fb1eb25
+1
-1
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
public val inVal: (x: kotlin.Int) -> kotlin.Unit
|
||||
public val onType: @TypeAnn A.(a: @TypeAnn A, A) -> @TypeAnn A?
|
||||
public val onType: (@TypeAnn A).(a: @TypeAnn A, A) -> @TypeAnn A?
|
||||
public fun f(/*0*/ @Ann x: kotlin.Int): kotlin.Unit
|
||||
public fun inParam(/*0*/ fn: (x: kotlin.Int) -> kotlin.Unit): kotlin.Unit
|
||||
public fun inParamNested(/*0*/ fn1: (fn2: (n: kotlin.Int) -> kotlin.Unit) -> kotlin.Unit): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user