Replace assert with lazy assert, times with repeat.
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ class SamAdapterFunctionsScope(storageManager: StorageManager) : JetScope by Jet
|
||||
}
|
||||
|
||||
original as MyFunctionDescriptor
|
||||
assert(original.original == original, "original in doSubstitute should have no other original")
|
||||
assert(original.original == original) { "original in doSubstitute should have no other original" }
|
||||
|
||||
val substitutionMap = HashMap<TypeConstructor, TypeProjection>()
|
||||
for (typeParameter in original.typeParameters) {
|
||||
|
||||
Reference in New Issue
Block a user