mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
10 lines
432 B
Plaintext
10 lines
432 B
Plaintext
---
|
||
source: tests/golden_tests.rs
|
||
input_file: tests/golden_tests/run_file/match_vars.bend
|
||
---
|
||
[4m[1m[31mErrors:[0m
|
||
[1mIn definition '[4mmain[0m[1m':[0m
|
||
Irrefutable 'match' expression. All cases after variable pattern 'true' will be ignored.
|
||
Note that to use a 'match' expression, the matched constructors need to be defined in a 'data' definition.
|
||
If this is not a mistake, consider using a 'let' expression instead.
|