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 | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'test/exception-handling.wast') diff --git a/test/exception-handling.wast b/test/exception-handling.wast index 7f16a237b..3dcff41e4 100644 --- a/test/exception-handling.wast +++ b/test/exception-handling.wast @@ -59,23 +59,4 @@ ) ) ) - - ;; Test subtype relationship - (func $subtype_test - (try - (do) - (catch - (drop (exnref.pop)) - (drop - (block $l0 (result i32) - (rethrow - (br_on_exn $l0 $e0 (ref.null)) - ) - ) - ) - ) - ) - - (throw $e1 (ref.null)) - ) ) -- cgit v1.2.3