mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Improve error message
This commit is contained in:
parent
73396c0607
commit
8aaf614481
6 changed files with 25 additions and 8 deletions
|
@ -5,6 +5,7 @@ use roc_module::symbol::{ModuleId, Symbol};
|
|||
use roc_parse::ast::Base;
|
||||
use roc_parse::pattern::PatternType;
|
||||
use roc_region::all::{Loc, Region};
|
||||
use roc_types::types::AliasKind;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct CycleEntry {
|
||||
|
@ -47,6 +48,7 @@ pub enum Problem {
|
|||
typ: Symbol,
|
||||
num_unbound: usize,
|
||||
one_occurrence: Region,
|
||||
kind: AliasKind,
|
||||
},
|
||||
DuplicateRecordFieldValue {
|
||||
field_name: Lowercase,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue