mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
add suffixed to Identifer and QualifiedIdentifier
This commit is contained in:
parent
0a3b9c34b3
commit
3c3e523b45
115 changed files with 1587 additions and 1085 deletions
|
@ -791,6 +791,7 @@ fn addr_to_ast<'a, M: ReplAppMemory>(
|
|||
let box_box = env.arena.alloc(Loc::at_zero(Expr::Var {
|
||||
module_name: "Box",
|
||||
ident: "box",
|
||||
suffixed: 0,
|
||||
}));
|
||||
let box_box_arg = &*env.arena.alloc(Loc::at_zero(inner_expr));
|
||||
let box_box_args = env.arena.alloc([box_box_arg]);
|
||||
|
@ -1354,6 +1355,7 @@ fn bool_to_ast<'a>(env: &Env<'a, '_>, value: bool, content: &Content) -> Expr<'a
|
|||
Alias(Symbol::BOOL_BOOL, _, _, _) => Expr::Var {
|
||||
module_name: "Bool",
|
||||
ident: if value { "true" } else { "false" },
|
||||
suffixed: 0,
|
||||
},
|
||||
Alias(_, _, var, _) => {
|
||||
let content = env.subs.get_content_without_compacting(*var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue