summaryrefslogtreecommitdiff
path: root/test/lit/binary/annotated-array-len.test
Commit message (Collapse)AuthorAgeFilesLines
* Convert some tests off of --nominal (#5660)Thomas Lively2023-04-131-1/+1
| | | | | | | | | | | | In preparation to remove the nominal type system, which is nonstandard and not usable for modules with nontrivial external linkage requirements, port an initial batch of tests to use the standard isorecursive type system. The port involves reordering input types to ensure that supertypes precede their subtypes and inserting rec groups to ensure that structurally identical types maintain their separate identities. More tests will be ported in future PRs before the nominal type system is removed entirely.
* Change the default type system to isorecursive (#5239)Thomas Lively2022-11-231-2/+2
| | | | | | | | | | This makes Binaryen's default type system match the WasmGC spec. Update the way type definitions without supertypes are printed to reduce the output diff for MVP tests that do not involve WasmGC. Also port some type-builder.cpp tests from test/example to test/gtest since they needed to be rewritten to work with isorecursive type anyway. A follow-on PR will remove equirecursive types completely.
* Parse and emit `array.len` without a type annotation (#5151)Thomas Lively2022-10-181-0/+18
Test that we can still parse the old annotated form as well.