mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
my comment is not a code snippet, cargo
This commit is contained in:
parent
a671b57f83
commit
239ef9cbe1
1 changed files with 15 additions and 11 deletions
|
@ -2396,20 +2396,24 @@ fn get_lookup_symbols(expr: &Expr, var_store: &mut VarStore) -> Vec<(Symbol, Var
|
|||
|
||||
/// Here we transform
|
||||
///
|
||||
/// > expect
|
||||
/// > a = 1
|
||||
/// > b = 2
|
||||
/// >
|
||||
/// > a == b
|
||||
/// ```ignore
|
||||
/// expect
|
||||
/// a = 1
|
||||
/// b = 2
|
||||
///
|
||||
/// a == b
|
||||
/// ```
|
||||
///
|
||||
/// into
|
||||
///
|
||||
/// > a = 1
|
||||
/// > b = 2
|
||||
/// >
|
||||
/// > expect a == b
|
||||
/// >
|
||||
/// > emptyrecord
|
||||
/// ```ignore
|
||||
/// a = 1
|
||||
/// b = 2
|
||||
///
|
||||
/// expect a == b
|
||||
///
|
||||
/// {}
|
||||
/// ```
|
||||
///
|
||||
/// This is supposed to happen just before monomorphization:
|
||||
/// all type errors and such are generated from the user source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue