From 916ce6f1a9f7c85102a8c69f593b301c8df5d19d Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Wed, 9 Sep 2020 03:40:09 +0200 Subject: Update reference types (#3084) Align with the current state of the reference types proposal: * Remove `nullref` * Remove `externref` and `funcref` subtyping * A `Literal` of a nullable reference type can now represent `null` (previously was type `nullref`) * Update the tests and temporarily comment out those tests relying on subtyping --- test/exception-handling.wast.fromBinary | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'test/exception-handling.wast.fromBinary') diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary index fc3dc3804..24af9294e 100644 --- a/test/exception-handling.wast.fromBinary +++ b/test/exception-handling.wast.fromBinary @@ -74,29 +74,5 @@ ) ) ) - (func $subtype_test - (try - (do - (nop) - ) - (catch - (drop - (exnref.pop) - ) - (drop - (block $label$3 (result i32) - (rethrow - (br_on_exn $label$3 $event$0 - (ref.null) - ) - ) - ) - ) - ) - ) - (throw $event$1 - (ref.null) - ) - ) ) -- cgit v1.2.3