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
..
2021-01-07 23:48:58 -08:00
2021-01-23 18:18:07 -07:00
2021-01-25 10:37:23 -08:00
2021-01-02 19:03:14 -07:00
2020-12-17 19:32:40 +01:00
2021-01-23 18:18:07 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2018-10-27 11:35:01 -04:00
2021-01-25 10:37:23 -08:00
2021-01-23 18:18:07 -07:00
2021-01-23 18:18:07 -07:00