wasm shell + destructuring
This commit is contained in:
@@ -128,6 +128,7 @@ slice-of-slice: [20, 30]
|
||||
strsub: world
|
||||
str-prefix: hello
|
||||
str-suffix: world
|
||||
global-addr-of: 99
|
||||
deref: Point{x: 10, y: 20}
|
||||
auto-deref: 10
|
||||
mp[0]: 10
|
||||
@@ -137,6 +138,7 @@ ptr==null: true
|
||||
ptr!=null: false
|
||||
ptr2==null: false
|
||||
ptr2!=null: true
|
||||
ptr-nested-field: 1.000000 2.000000 3.000000
|
||||
vec-construct: [1.000000, 3.000000, 2.000000]
|
||||
vec-add: [5.000000, 7.000000, 9.000000]
|
||||
vec-sub: [4.000000, 3.000000, 2.000000]
|
||||
@@ -267,6 +269,11 @@ flags-explicit-raw: 68
|
||||
var swap: 20 10
|
||||
arr swap: 3 1
|
||||
3-way: 3 1 2
|
||||
--- destructure ---
|
||||
basic: 10 20
|
||||
fn: 2 1
|
||||
discard: 200
|
||||
triple: 1 2 3
|
||||
=== 15. Foreign ===
|
||||
foreign-rename: 42
|
||||
=== 16. Compound Assign ===
|
||||
|
||||
Reference in New Issue
Block a user