mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
we are compiling
This commit is contained in:
parent
01a7fe77d4
commit
a4889fd571
6 changed files with 406 additions and 297 deletions
|
@ -1372,7 +1372,7 @@ fn to_pattern_report<'b>(
|
|||
}
|
||||
}
|
||||
PReason::WhenMatch { index } => {
|
||||
if index == Index::FIRST {
|
||||
if index == HumanIndex::FIRST {
|
||||
let doc = alloc.stack(vec![
|
||||
alloc
|
||||
.text("The 1st pattern in this ")
|
||||
|
@ -1384,7 +1384,7 @@ fn to_pattern_report<'b>(
|
|||
found,
|
||||
expected_type,
|
||||
add_pattern_category(
|
||||
HumanIndexlloc,
|
||||
alloc,
|
||||
alloc.text("The first pattern is trying to match"),
|
||||
&category,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue