mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +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
8 lines
171 B
Plaintext
8 lines
171 B
Plaintext
// #deprecation: no
|
|
module test;
|
|
import std::collections::maybe;
|
|
|
|
fn void test()
|
|
{
|
|
(Maybe) {.value=6.6, .has_value=true}; // #error: is defined in the generic module
|
|
} |