ITADN
c3lang/c3c/Issues

Compiler asserts on concatenating a struct to an untypedlist

#3326Closedsrkkov 创建于 2026-06-13
BugFixed needs testing
S
srkkovcommented
```c3 module main; struct Foo { int x, y; } fn void main() { untypedlist $list; $list +++= (Foo){1, 2}; } ``` Fails ``` ⚠️ The compiler encountered an unexpected error: "Should be unreachable". - Function: sema_expr_analyse_ct_concat(...) - Source file: /src/compiler/sema_const.c:436 ```
关闭于 2026-06-23 2 条评论