code cleanup for JS modules
This commit is contained in:
@@ -30,6 +30,6 @@ public enum class PredefinedAnnotation(fqName: String) {
|
||||
|
||||
companion object {
|
||||
// TODO: replace with straight assignment when KT-5761 will be fixed
|
||||
val WITH_CUSTOM_NAME by Delegates.lazy { setOf(LIBRARY, NATIVE) }
|
||||
val WITH_CUSTOM_NAME by lazy { setOf(LIBRARY, NATIVE) }
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import org.jetbrains.kotlin.diagnostics.rendering.DiagnosticFactoryToRendererMap
|
||||
import org.jetbrains.kotlin.diagnostics.rendering.Renderers
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
private val DIAGNOSTIC_FACTORY_TO_RENDERER by Delegates.lazy {
|
||||
private val DIAGNOSTIC_FACTORY_TO_RENDERER by lazy {
|
||||
with(DiagnosticFactoryToRendererMap()) {
|
||||
|
||||
put(ErrorsJs.NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN,
|
||||
|
||||
Reference in New Issue
Block a user