tinygo/testdata
Ayke van Laethem c0d257d682 compiler: fix difference in aliases in interface methods
There used to be a difference between `byte` and `uint8` in interface
methods. These are aliases, so they should be treated the same.
This patch introduces a custom serialization format for types,
circumventing the `Type.String()` method that is slightly wrong for our
purposes.

This also fixes an issue with the `any` keyword in Go 1.18, which
suffers from the same problem (but this time actually leads to a crash).
2022-04-07 12:54:17 +02:00
..
cgo
alias.go
alias.txt
atomic.go
atomic.txt
binop.go
binop.txt
calls.go
calls.txt
channel.go compiler: fix a few crashes due to named types 2020-05-27 16:14:41 +02:00
channel.txt
corpus.yaml testdata/corpus: add google/go-patchutils 2022-02-24 12:36:10 -05:00
env.go
env.txt
filesystem.go Enable Getwd() in wasi and add tests 2021-12-10 09:50:38 +01:00
filesystem.txt
float.go
float.txt
gc.go
gc.txt
go1.17.go
go1.17.txt
goroutines.go internal/task: remove coroutines 2022-01-19 14:42:02 -05:00
goroutines.txt interp: run goroutine starts and checks at runtime 2021-12-24 09:10:21 +01:00
init.go
init.txt
init_multi.go
init_multi.txt
interface.go compiler: fix difference in aliases in interface methods 2022-04-07 12:54:17 +02:00
interface.txt compiler: fix difference in aliases in interface methods 2022-04-07 12:54:17 +02:00
json.go
json.txt
ldflags.go
ldflags.txt
map.go src/runtime: fix nil map dereference 2021-12-09 18:23:49 +01:00
map.txt src/runtime: fix nil map dereference 2021-12-09 18:23:49 +01:00
math.go
math.txt
print.go
print.txt
rand.go
rand.txt
reflect.go compiler: fix incorrect unsafe.Alignof on some 32-bit architectures 2022-03-04 00:04:17 +01:00
reflect.txt compiler: fix incorrect unsafe.Alignof on some 32-bit architectures 2022-03-04 00:04:17 +01:00
slice.go compiler: allow slices of empty structs. 2022-04-07 12:00:27 +02:00
slice.txt
sort.go implement reflect.Swapper 2020-10-23 21:37:35 +02:00
sort.txt implement reflect.Swapper 2020-10-23 21:37:35 +02:00
stdlib.go runtime: handle negative sleep times 2021-12-15 17:52:48 +01:00
stdlib.txt
string.go compiler: fix named string to []byte slice conversion 2020-07-29 12:13:37 +02:00
string.txt
structs.go
structs.txt
testing.go On baremetal platforms, use simpler test matcher. Fixes #2666. 2022-03-15 05:59:00 +01:00
testing.txt On baremetal platforms, use simpler test matcher. Fixes #2666. 2022-03-15 05:59:00 +01:00
testing_go118.go main_test.go: fork testdata/testing.go for go 1.18 2022-04-06 20:03:04 +02:00
testing_go118.txt main_test.go: fork testdata/testing.go for go 1.18 2022-04-06 20:03:04 +02:00
zeroalloc.go testdata: fix formatting 2020-05-12 01:17:27 +02:00
zeroalloc.txt add code to handle programs which use heap allocations but never hit the GC 2019-11-17 15:14:51 +01:00