Michael Dusan f9b85c6e50 stage1: add error for slice.len incr beyond bounds
comptime direct slice.len increment dodges bounds checking but
we can emit an error for it, at least in the simple case.

- promote original assert to compile-error
- add test case

closes #7810
2021-01-30 11:19:25 +02:00
..
2020-12-08 21:59:24 -07:00
2020-10-31 12:21:49 +02:00
2021-01-07 23:48:58 -08:00