Add language feature for suspend functions in fun interfaces
Since in 1.5 JVM_IR is enabled by default and supports suspend functions in fun interfaces, it is safe to enable the feature by default as well.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// LANGUAGE: -SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault
|
||||
|
||||
fun interface I {
|
||||
<!FUN_INTERFACE_WITH_SUSPEND_FUNCTION!>suspend<!> fun foo()
|
||||
}
|
||||
Reference in New Issue
Block a user