tinygo/testdata
Ayke van Laethem e955aa1941 reflect: implement CanInterface and fix string Index()
This commit fixes two related issues:

 1. CanInterface was unimplemented. It now uses the same check as is
    used in Interface() itself.
    This issue led to https://github.com/tinygo-org/tinygo/issues/3033
 2. Allow making an interface out of a string char element.

Doing this in one commit (instead of two) because they are shown to be
correct with the same tests.
2022-09-01 21:42:22 +02:00
..
cgo cgo: add support for C.CString and related functions 2021-11-24 21:09:29 +01:00
embed all: add support for the embed package 2022-05-30 10:41:17 +02:00
generics Set internal linkage and keeping default visibility for anonymous functions 2022-08-01 10:53:48 +02:00
alias.go
alias.txt
atomic.go compiler: really define runtime/volatile.* functions 2022-06-24 11:10:24 +02:00
atomic.txt compiler: really define runtime/volatile.* functions 2022-06-24 11:10:24 +02:00
binop.go runtime: allow comparing interfaces in reflectValueEqual() 2021-11-24 14:17:47 +01:00
binop.txt runtime: allow comparing interfaces in reflectValueEqual() 2021-11-24 14:17:47 +01:00
calls.go
calls.txt
channel.go
channel.txt
corpus.yaml testdata: add russross/blackfriday markdown parser to corpus 2022-08-22 23:06:14 +02:00
env.go os: stub out support for some more features 2021-11-26 08:05:35 +01:00
env.txt
filesystem.go all: move from os.IsFoo to errors.Is(err, ErrFoo) 2022-08-07 10:32:23 +02:00
filesystem.txt
float.go
float.txt
gc.go
gc.txt
generics.go compiler: fix incorrect DWARF type in some generic parameters 2022-08-22 10:31:30 +02:00
generics.txt Set internal linkage and keeping default visibility for anonymous functions 2022-08-01 10:53:48 +02:00
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 avr: enable testdata/map.go 2022-05-18 15:20:09 +02:00
map.txt testdata: move map growth test to map.go 2022-04-28 09:14:45 +02:00
math.go
math.txt
print.go Add support for printing slices via print/println 2022-07-13 14:44:23 +02:00
print.txt Add support for printing slices via print/println 2022-07-13 14:44:23 +02:00
rand.go
rand.txt
recover.go compiler: implement recover() built-in function 2022-06-16 07:59:21 +02:00
recover.txt compiler: implement recover() built-in function 2022-06-16 07:59:21 +02:00
reflect.go reflect: implement CanInterface and fix string Index() 2022-09-01 21:42:22 +02:00
reflect.txt reflect: implement CanInterface and fix string Index() 2022-09-01 21:42:22 +02:00
slice.go all: drop support for Go 1.16 and Go 1.17 2022-08-30 12:38:06 +02:00
slice.txt all: drop support for Go 1.16 and Go 1.17 2022-08-30 12:38:06 +02:00
sort.go implement reflect.Swapper 2020-10-23 21:37:35 +02:00
sort.txt
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 all: drop support for Go 1.16 and Go 1.17 2022-08-30 12:38:06 +02:00
testing.txt On baremetal platforms, use simpler test matcher. Fixes #2666. 2022-03-15 05:59:00 +01:00
timers.go runtime: implement resetTimer 2022-08-25 11:30:33 +02:00
timers.txt runtime: implement resetTimer 2022-08-25 11:30:33 +02:00
zeroalloc.go testdata: fix formatting 2020-05-12 01:17:27 +02:00
zeroalloc.txt