markused: use eprintln for PANIC DEPS too (for consistency and easier redirection for the whole trace)

This commit is contained in:
Delyan Angelov 2025-07-29 09:49:37 +03:00
parent 396dc77a20
commit 2c8685a386
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1377,7 +1377,7 @@ pub fn (mut w Walker) finalize(include_panic_deps bool) {
if include_panic_deps || w.uses_external_type || w.uses_asserts || w.uses_debugger
|| w.uses_interp {
if w.trace_enabled {
println('>>>>> PANIC DEPS ${include_panic_deps} | external_type=${w.uses_external_type} | asserts=${w.uses_asserts} | dbg=${w.uses_debugger}')
eprintln('>>>>> PANIC DEPS ${include_panic_deps} | external_type=${w.uses_external_type} | asserts=${w.uses_asserts} | dbg=${w.uses_debugger}')
}
ref_array_idx_str := int(ast.array_type.ref()).str()
string_idx_str := ast.string_type_idx.str()