[Wasm] Allow incomplete implementations for PL
This commit is contained in:
committed by
Space Team
parent
1e798a2527
commit
8851ccc35d
+1
-1
@@ -309,7 +309,7 @@ class DeclarationGenerator(
|
||||
val classMethod: VirtualMethodMetadata? = metadata.virtualMethods
|
||||
.find { it.signature == method.signature && it.function.modality != Modality.ABSTRACT } // TODO: Use map
|
||||
|
||||
if (classMethod == null && !allowIncompleteImplementations) {
|
||||
if (classMethod == null && !allowIncompleteImplementations && !context.backendContext.partialLinkageSupport.isEnabled) {
|
||||
error("Cannot find interface implementation of method ${method.signature} in class ${klass.fqNameWhenAvailable}")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user