mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-16 17:35:02 +01:00
fix some bugs
This commit is contained in:
parent
01d4238269
commit
537c924a68
7 changed files with 47 additions and 11 deletions
11
ui-tests/type/generics/codegen.nil
Normal file
11
ui-tests/type/generics/codegen.nil
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
//@check-pass
|
||||
type A[T] = struct { a: T };
|
||||
type B[T, U, V] = struct {
|
||||
b: T,
|
||||
d: V,
|
||||
};
|
||||
type C = ();
|
||||
|
||||
function main() = ;
|
||||
|
||||
function test(a: A[I32], b: B[I32, Int, I32], c: C) = ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue