aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/reflect.txt
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-08-16 22:08:44 +0200
committerRon Evans <[email protected]>2019-08-19 11:08:26 +0200
commitc19c738f523be8665a0e84c7905a6e0600f56404 (patch)
tree18bd35817d48a6cf7b42052c18dc8a87ab818095 /testdata/reflect.txt
parentbbc3046687ffa5bc166cb15a2bc1149192f6f203 (diff)
downloadtinygo-c19c738f523be8665a0e84c7905a6e0600f56404.tar.gz
tinygo-c19c738f523be8665a0e84c7905a6e0600f56404.zip
reflect: implement support for array types
Diffstat (limited to 'testdata/reflect.txt')
-rw-r--r--testdata/reflect.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/testdata/reflect.txt b/testdata/reflect.txt
index 4b17a90fc..ab3232bef 100644
--- a/testdata/reflect.txt
+++ b/testdata/reflect.txt
@@ -203,7 +203,19 @@ reflect type: slice
reflect type: uint8 settable=true
uint: 11
reflect type: array
- array
+ array: 3 int64 24
+ reflect type: int64
+ int: 5
+ reflect type: int64
+ int: 8
+ reflect type: int64
+ int: 2
+reflect type: array
+ array: 2 uint8 2
+ reflect type: uint8
+ uint: 3
+ reflect type: uint8
+ uint: 5
reflect type: func
func
nil: true