mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 20:43:40 +00:00
Implement array bounds check
This commit is contained in:
@@ -57,7 +57,7 @@ func _panic(message interface{}) {
|
||||
C.exit(1)
|
||||
}
|
||||
|
||||
func boundsCheck(s string, outOfRange bool) {
|
||||
func boundsCheck(outOfRange bool) {
|
||||
if outOfRange {
|
||||
// printstring() here is safe as this function is excluded from bounds
|
||||
// checking.
|
||||
|
||||
Reference in New Issue
Block a user