Fix "infix modifier required" errors in project
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ public class LazyJavaClassMemberScope(
|
||||
}
|
||||
|
||||
enhanceSignatures(
|
||||
result ifEmpty { emptyOrSingletonList(createDefaultConstructor()) }
|
||||
result.ifEmpty { emptyOrSingletonList(createDefaultConstructor()) }
|
||||
).toReadOnlyList()
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@ public class AnnotationDeserializer(private val module: ModuleDescriptor) {
|
||||
else -> error("Unsupported annotation argument type: ${value.getType()} (expected $expectedType)")
|
||||
}
|
||||
|
||||
if (result.type isSubtypeOf expectedType) {
|
||||
if (result.type.isSubtypeOf(expectedType)) {
|
||||
return result
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user