[Wasm] PL tests implementation for Wasm target
Fixed #KT-58088
This commit is contained in:
committed by
Space Team
parent
6b66195afc
commit
7c16528560
@@ -0,0 +1,10 @@
|
||||
function OpenExternalClass() {}
|
||||
OpenExternalClass.prototype.function = function() {
|
||||
return "OpenExternalClass.function"
|
||||
}
|
||||
|
||||
function ExternalInterfaceInheritedFromOpenExternalClass() {}
|
||||
ExternalInterfaceInheritedFromOpenExternalClass.prototype = Object.create(OpenExternalClass.prototype);
|
||||
ExternalInterfaceInheritedFromOpenExternalClass.prototype.abstractFunction = function() {
|
||||
throw new Error("Calling abstract function ExternalInterfaceInheritedFromOpenExternalClass.abstractFunction");
|
||||
}
|
||||
Reference in New Issue
Block a user