tinygo/compiler
Ayke van Laethem b13c993565 compiler: fix ranging over maps with particular map types
Some map keys are hard to compare, such as floats. They are stored as if
the map keys are of interface type instead of the key type itself. This
makes working with them in the runtime package easier: they are compared
as regular interfaces.

Iterating over maps didn't care about this special case though. It just
returns the key, value pair as it is stored in the map. This is buggy,
and this commit fixes this bug.
2021-12-09 00:14:20 +01:00
..
ircheck
llvmutil
testdata all: add LLVM 12 support 2021-11-30 21:53:16 +01:00
alias.go
asserts.go compiler: fix indices into strings and arrays 2021-11-13 11:04:24 +01:00
atomic.go
calls.go
channel.go
compiler.go compiler: move *ssa.Next lowering for maps to compiler/map.go 2021-12-09 00:14:20 +01:00
compiler_test.go all: add LLVM 12 support 2021-11-30 21:53:16 +01:00
defer.go
errors.go
func.go transform: refactor interrupt lowering 2021-11-06 09:40:15 +01:00
gc.go
goroutine.go internal/task: use asyncify on webassembly 2021-11-14 10:49:28 +01:00
inlineasm.go
interface.go compiler: fix ranging over maps with particular map types 2021-12-09 00:14:20 +01:00
interrupt.go transform: refactor interrupt lowering 2021-11-06 09:40:15 +01:00
intrinsics.go
llvm.go
map.go compiler: fix ranging over maps with particular map types 2021-12-09 00:14:20 +01:00
sizes.go
symbol.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00
syscall.go all: remove FreeBSD support 2021-11-24 22:21:22 +01:00
volatile.go