Replace assert with lazy assert, times with repeat.

This commit is contained in:
Ilya Gorbunov
2015-10-01 20:13:34 +03:00
parent c1ba30b4bc
commit 3106458cc4
50 changed files with 79 additions and 87 deletions
@@ -248,7 +248,7 @@ public object LightClassUtil {
if (declaration is JetPropertyAccessor) {
val propertyParent = declaration.parent
assert(propertyParent is JetProperty, "JetProperty is expected to be parent of accessor")
assert(propertyParent is JetProperty) { "JetProperty is expected to be parent of accessor" }
declaration = propertyParent as JetProperty
}