code cleanup for JS modules

This commit is contained in:
Dmitry Jemerov
2015-07-20 18:03:05 +02:00
parent 973fa21fe9
commit 3718a7dd44
23 changed files with 34 additions and 34 deletions
@@ -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) }
}
}
@@ -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,