We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent e4d1f92 commit ce3492fCopy full SHA for ce3492f
src/compiler/crystal/codegen/codegen.cr
@@ -373,6 +373,7 @@ module Crystal
373
with_context(Context.new(context.fun, context.type)) do
374
file_module = @program.file_module(node.filename)
375
if vars = file_module.vars?
376
+ set_current_debug_location Location.new(node.filename, 1, 1)
377
alloca_vars vars, file_module
378
379
emit_vars_debug_info(vars) if @debug.variables?
0 commit comments