Christian Buttner
Christian Buttner
Yes, that's a lot better! Now it's possible to step in and out of macros too. I was unaware this could be done with debug info. This is very helpful....
So this is what I get before 480f0f8 (at 2bfc7258): ``` ERROR: 'Unreachable statement reached.' in std.core.builtin.default_panic (/home/christian/Github/c3c/lib/std/core/builtin.c3:104) [./build/test] in std.core.builtin.panicf (/home/christian/Github/c3c/lib/std/core/builtin.c3:134) [./build/test] in test.foo (/home/christian/Github/c3c/lib/std/core/builtin.c3:145) [./build/test] in test.main (/tmp/test/src/main.c3:6)...
Yes, the Linux stack trace code seems to have a problem. In general there is no problem with C code and common stack trace implementations. I can compare against what...
No, still the same.
Looks very good now. ``` ERROR: 'Unreachable statement reached.' in std.core.builtin.default_panic (/home/christian/Github/c3c/lib/std/core/builtin.c3:105) [./build/test] in std.core.builtin.panicf (/home/christian/Github/c3c/lib/std/core/builtin.c3:135) [./build/test] in unreachable (/home/christian/Github/c3c/lib/std/core/builtin.c3:146) [./build/test] [inline] in bar (/tmp/test/src/main.c3:15) [./build/test] [inline] in test.foo (/tmp/test/src/main.c3:11)...
Ah right, my example was actually working. This is what I tested with: ```c union Rect { struct { float[] min, max; } } fn void test_rect(float[] max) { Rect...
This fixed it for me, thanks.
Looks fixed.
Looks good.