mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
* Change generic symbol resolution.
* Infer generic parameters lhs -> rhs: `List{int} x = list::NOHEAP`.
* Regression: Compiler segfault when assigning struct literal with too few members #2483
9 lines
139 B
Plaintext
9 lines
139 B
Plaintext
import std;
|
|
alias TestMap = HashMap {int, List {int}};
|
|
fn int main(String[] args)
|
|
{
|
|
TestMap a;
|
|
a.set(0, (List){});
|
|
return 0;
|
|
}
|