mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Implement open-in-output-position for non-alias type annotations
This commit is contained in:
parent
0707739cfc
commit
8d5678151d
3 changed files with 82 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
use crate::abilities::{AbilitiesStore, ImplKey, PendingAbilitiesStore, ResolvedImpl};
|
||||
use crate::annotation::canonicalize_annotation;
|
||||
use crate::annotation::{canonicalize_annotation, ValueAnnotation};
|
||||
use crate::def::{canonicalize_defs, Def};
|
||||
use crate::effect_module::HostedGeneratedFunctions;
|
||||
use crate::env::Env;
|
||||
|
@ -442,6 +442,7 @@ pub fn canonicalize_module_defs<'a>(
|
|||
loc_ann.region,
|
||||
var_store,
|
||||
pending_abilities_in_scope,
|
||||
ValueAnnotation(true),
|
||||
);
|
||||
|
||||
ann.add_to(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue