mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix: nested array bugs
This commit is contained in:
parent
84bd0259eb
commit
018080be41
15 changed files with 232 additions and 85 deletions
|
@ -639,8 +639,14 @@ mod test {
|
|||
let input = Input::pipe("pred unification error".to_string());
|
||||
let lhs = &Predicate::Const("Str".into());
|
||||
let rhs = &Predicate::Const("Nat".into());
|
||||
let err =
|
||||
TyCheckError::pred_unification_error(input, errno, lhs, rhs, caused_by.to_string());
|
||||
let err = TyCheckError::pred_unification_error(
|
||||
input,
|
||||
errno,
|
||||
lhs,
|
||||
rhs,
|
||||
Location::Unknown,
|
||||
caused_by.to_string(),
|
||||
);
|
||||
errors.push(err);
|
||||
|
||||
let input = Input::pipe("Trait member type error".to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue