my comment is not a code snippet, cargo

This commit is contained in:
Folkert 2022-07-10 21:31:26 +02:00
parent a671b57f83
commit 239ef9cbe1
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -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,