Do not require experimental propagation for body usages in same module
Unless it's a usage inside the body of an effectively public inline function #KT-22759 In Progress
This commit is contained in:
+2
@@ -1,4 +1,5 @@
|
||||
// !API_VERSION: 1.3
|
||||
// MODULE: api
|
||||
// FILE: api.kt
|
||||
|
||||
package api
|
||||
@@ -17,6 +18,7 @@ fun compilation() {}
|
||||
@RuntimeExperimentalAPI
|
||||
fun runtime() {}
|
||||
|
||||
// MODULE: usage(api)
|
||||
// FILE: usage.kt
|
||||
|
||||
@file:UseExperimental(CompilationExperimentalAPI::class)
|
||||
|
||||
Reference in New Issue
Block a user