Always generate dbg expressions

This commit is contained in:
Brendan Hansknecht 2024-12-11 14:55:32 -08:00
parent d746e2a041
commit 4cf5683ee8
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

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