mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fixed shadowing test
This commit is contained in:
parent
7d9554e0b6
commit
f56a06d53b
1 changed files with 3 additions and 3 deletions
|
@ -356,12 +356,12 @@ mod test_reporting {
|
|||
Booly is first defined here:
|
||||
|
||||
1 ┆ Booly : [ Yes, No ]
|
||||
┆ ^^^^^
|
||||
┆ ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
But then it's defined a second time here:
|
||||
|
||||
3 ┆ Booly : [ Yes, No, Maybe ]
|
||||
┆ ^^^^^
|
||||
3 ┆ Booly : [ Yes, No, Maybe ]
|
||||
┆ ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Since these variables have the same name, it's easy to use the wrong one on accident. Give one of them a new name."#
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue