mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 18:47:47 +00:00
0f2f73be53
This commit improves make([]T, len) to be closer to upstream Go. The difference is unlikely to have much real-world effect, but previously certain make([]T, len) expressions would not result in a slice out of bounds error in TinyGo while they would have done such a thing in Go proper. In practice, available RAM is likely to be a bigger limiting factor.