Ignore open modifier on top-level suspend function when generating light classes

#KT-21642: Fixed
This commit is contained in:
Ilmir Usmanov
2018-01-11 16:55:44 +03:00
parent 5da156e93c
commit c023831a00
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
<error descr="[WRONG_MODIFIER_TARGET] Modifier 'open' is not applicable to 'top level function'"><info descr="null">open</info></error> <warning descr="[EXPERIMENTAL_FEATURE_WARNING] The feature \"coroutines\" is experimental (see: https://kotlinlang.org/docs/diagnostics/experimental-coroutines)"><info descr="null">suspend</info></warning> fun <info descr="null">f</info>() {}