Previously, when casting an integer to a bigger integer, the destination signedness was used. This is problematic when casting a negative int16 to uint32, for example, because it would cause zero-extension. |
||
|---|---|---|
| .. | ||
| asserts.go | ||
| calls.go | ||
| channel.go | ||
| compiler.go | ||
| defer.go | ||
| errors.go | ||
| goroutine-lowering.go | ||
| interface-lowering.go | ||
| interface.go | ||
| llvm.go | ||
| map.go | ||
| optimizer.go | ||
| reflect.go | ||
| sizes.go | ||
| syscall.go | ||