[K2] Disappeared UNSUPPORTED_FEATURE (3)
Added a check for the enabled context receivers feature flag for @ContextFunctionTypeParams. ^KT-59913
This commit is contained in:
committed by
Space Team
parent
c04767f1f4
commit
fb0461f422
-5
@@ -1,5 +0,0 @@
|
||||
fun <T> f(t: @ContextFunctionTypeParams(42) T, tt: @ContextFunctionTypeParams(1) Int) {}
|
||||
|
||||
fun test() {
|
||||
val f: @ContextFunctionTypeParams(1) @ExtensionFunctionType (Int, String) -> Unit = {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun <T> f(t: <!UNSUPPORTED_FEATURE!>@ContextFunctionTypeParams(42)<!> T, tt: <!UNSUPPORTED_FEATURE!>@ContextFunctionTypeParams(1)<!> Int) {}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user