mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-31 06:02:11 +00:00
layout rtti with fixed ids for buffers and strings
This commit is contained in:
2
tests/compiler/rt/ids.ts
Normal file
2
tests/compiler/rt/ids.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
assert(idof<ArrayBuffer>() == 0);
|
||||
assert(idof<String>() == 1);
|
Reference in New Issue
Block a user