aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/parser/tests/match_range_dotdot_err.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/parser/tests/match_range_dotdot_err.out')
-rw-r--r--v_windows/v/old/vlib/v/parser/tests/match_range_dotdot_err.out7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/parser/tests/match_range_dotdot_err.out b/v_windows/v/old/vlib/v/parser/tests/match_range_dotdot_err.out
new file mode 100644
index 0000000..bc815ed
--- /dev/null
+++ b/v_windows/v/old/vlib/v/parser/tests/match_range_dotdot_err.out
@@ -0,0 +1,7 @@
+vlib/v/parser/tests/match_range_dotdot_err.vv:3:4: error: match only supports inclusive (`...`) ranges, not exclusive (`..`)
+ 1 | fn test_match() {
+ 2 | match 5 {
+ 3 | 0..10 { '0-9' }
+ | ~~
+ 4 | else { 'other' }
+ 5 | }