Jaden Weiss
d17f500c8b
replace reflect.interfaceHeader with strongly typed runtime functions
2019-09-22 16:36:11 +02:00
Ayke van Laethem
c19c738f52
reflect: implement support for array types
2019-08-19 11:08:26 +02:00
Ayke van Laethem
0818a125c0
reflect: fix IsNil and Pointer for addressable pointer types
2019-08-11 15:00:43 +02:00
Ayke van Laethem
e2c8654237
reflect: add support for struct types
2019-08-08 15:23:47 +02:00
Ayke van Laethem
614433cb75
reflect: implement Type.AssignableTo
2019-08-08 15:23:47 +02:00
Carolyn Van Slyck
208e1719ad
Add test command to tinygo ( #243 )
...
* Add test command to tinygo
2019-06-18 12:23:59 +02:00
Tomer Elmalem
1047c9bd05
reflect: stub out reflect.New and reflect.Zero
2019-06-03 19:26:47 +02:00
Ayke van Laethem
02ecab833f
all: check formatting on CI
2019-04-13 19:58:58 +02:00
Ayke van Laethem
06aa88abfb
reflect: add stubs for Value.MapRange
...
This object was added in Go 1.12 and is required by the fmt package.
2019-03-23 16:16:19 +01:00
Ayke van Laethem
003211b4ff
reflect: implement Value.Set*() for basic types
2019-02-05 17:11:09 +01:00
Ayke van Laethem
dfef168139
reflect: add limited support for all type kinds
...
This commit makes sure all Go types can be encoded in the interface type
code, so that Type.Kind() always returns a proper type kind for any
non-nil interface.
2019-02-05 17:11:09 +01:00
Ayke van Laethem
63f2a3dfe9
reflect: support slices and indexing of strings and slices
2019-02-05 17:11:09 +01:00
Ayke van Laethem
fb23e9c212
reflect: add support for non-named basic types
2019-02-05 17:11:09 +01:00
Ayke van Laethem
f0904779a5
reflect: add reflect.TypeOf
...
This is the beginning of true reflection support in TinyGo.
2019-02-05 17:11:08 +01:00
Ayke van Laethem
22914165cc
reflect: add more stubs for encoding/binary
...
Package encoding/binary uses reflect and is needed by image/png, but
image/png doesn't actually need the reflect-using parts of
encoding/binary. So stub them out for now to get it to compile.
Thanks to Stephen Solka who wrote the patch.
2018-11-03 16:06:44 +01:00
Ayke van Laethem
0b8beb77c1
reflect: add stub reflect package
...
This is necessary to compile fmt. However, it cannot link yet.
2018-10-23 15:39:53 +02:00