Files
c3c/test/test_suite/generic/used_without_param3.c3
Christoffer Lerno 92aefb15f8 Generic inference (#2475)
* 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
2025-09-16 18:05:21 +02:00

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
}