mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Always generate dbg
expressions
This commit is contained in:
parent
d746e2a041
commit
4cf5683ee8
1 changed files with 4 additions and 6 deletions
|
@ -3559,12 +3559,10 @@ pub(crate) fn build_exp_stmt<'a, 'ctx>(
|
|||
variable: _,
|
||||
remainder,
|
||||
} => {
|
||||
if env.mode.runs_expects() {
|
||||
let location = build_string_literal(env, source_location);
|
||||
let source = build_string_literal(env, source);
|
||||
let message = scope.load_symbol(symbol);
|
||||
env.call_dbg(env, location, source, message);
|
||||
}
|
||||
let location = build_string_literal(env, source_location);
|
||||
let source = build_string_literal(env, source);
|
||||
let message = scope.load_symbol(symbol);
|
||||
env.call_dbg(env, location, source, message);
|
||||
|
||||
build_exp_stmt(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue