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 fix bug in IR regarding type aliases 2019-09-20 10:35:49 +02:00
alias.txt
atomic.go compiler: add support for atomic operations 2020-05-28 15:11:46 +02:00
atomic.txt
binop.go
binop.txt
calls.go
calls.txt
channel.go
channel.txt
corpus.yaml testdata/corpus: add google/go-patchutils 2022-02-24 12:36:10 -05:00
env.go os: stub out support for some more features 2021-11-26 08:05:35 +01:00
env.txt
filesystem.go Enable Getwd() in wasi and add tests 2021-12-10 09:50:38 +01:00
filesystem.txt
float.go compiler: test float to int conversions and fix upper-bound calculation 2021-01-19 14:02:32 +01:00
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 interp: use object layout information for LLVM types 2021-11-02 22:16:15 +01:00
init.txt
init_multi.go
init_multi.txt testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
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 main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
ldflags.txt main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
map.go src/runtime: fix nil map dereference 2021-12-09 18:23:49 +01:00
map.txt
math.go
math.txt
print.go runtime: use dedicated printfloat32 2020-10-02 11:26:22 +02:00
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
sort.txt implement reflect.Swapper 2020-10-23 21:37:35 +02:00
stdlib.go
stdlib.txt
string.go compiler: fix named string to []byte slice conversion 2020-07-29 12:13:37 +02:00
string.txt compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
structs.go compiler: support recursive types 2019-10-13 23:07:47 +02:00
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
zeroalloc.txt