mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Validation of opaques during canonicalization
This commit is contained in:
parent
6b53692aac
commit
90de82e295
20 changed files with 546 additions and 132 deletions
|
@ -914,8 +914,8 @@ fn type_to_variable<'a>(
|
|||
type_arguments,
|
||||
actual,
|
||||
lambda_set_variables,
|
||||
// TODO(opaques): revisit opacity
|
||||
is_opaque: _,
|
||||
// TODO(opaques): revisit kind
|
||||
kind: _,
|
||||
} => {
|
||||
if let Some(reserved) = Variable::get_reserved(*symbol) {
|
||||
if rank.is_none() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue