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
embed
generics
alias.go
alias.txt
atomic.go
atomic.txt
binop.go
binop.txt runtime: allow comparing interfaces in reflectValueEqual() 2021-11-24 14:17:47 +01:00
calls.go compiler: add support for recursive function types 2021-10-30 15:55:20 +02:00
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
env.txt
filesystem.go
filesystem.txt
float.go
float.txt compiler: test float to int conversions and fix upper-bound calculation 2021-01-19 14:02:32 +01:00
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
goroutines.txt
init.go
init.txt
init_multi.go testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
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 main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
ldflags.txt
map.go avr: enable testdata/map.go 2022-05-18 15:20:09 +02:00
map.txt
math.go
math.txt
print.go Add support for printing slices via print/println 2022-07-13 14:44:23 +02:00
print.txt
rand.go
rand.txt
recover.go
recover.txt
reflect.go
reflect.txt
slice.go
slice.txt
sort.go implement reflect.Swapper 2020-10-23 21:37:35 +02:00
sort.txt
stdlib.go
stdlib.txt
string.go
string.txt compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
structs.go
structs.txt
testing.go
testing.txt
timers.go
timers.txt
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