mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Error reporting for type mismatches involving opaques
This commit is contained in:
parent
822e38d026
commit
059c324268
20 changed files with 526 additions and 149 deletions
|
@ -67,8 +67,13 @@ pub fn make_solved_types(
|
|||
}
|
||||
|
||||
let solved_type = SolvedType::from_type(solved_subs, &alias.typ);
|
||||
let solved_alias =
|
||||
SolvedType::Alias(*symbol, args, lambda_set_variables, Box::new(solved_type));
|
||||
let solved_alias = SolvedType::Alias(
|
||||
*symbol,
|
||||
args,
|
||||
lambda_set_variables,
|
||||
Box::new(solved_type),
|
||||
alias.kind,
|
||||
);
|
||||
|
||||
solved_types.insert(*symbol, solved_alias);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue