From 664b41af65d3c9bbc8e09ffcaa91d404fe87d7a0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 4 Jan 2017 01:56:21 -0500 Subject: fix debug information for function pointers in structs --- src/ir.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 5a5dc5c140..86cd3f5d89 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -4925,7 +4925,9 @@ static IrInstruction *ir_gen_container_decl(IrBuilder *irb, Scope *parent_scope, name = buf_alloc(); buf_append_buf(name, &fn_entry->symbol_name); buf_appendf(name, "("); - // TODO render args + // TODO render args. note that fn_type_id is likely not complete + // at this time. + // probably have to render them from the fn scope buf_appendf(name, ")"); } else { name = buf_sprintf("(anonymous %s at %s:%zu:%zu)", container_string(kind), -- cgit v1.2.3