mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
allocators and type aliases
This commit is contained in:
parent
60c743d656
commit
f05e5520f3
16 changed files with 283 additions and 121 deletions
7
ui-tests/ui/type_alias.nil
Normal file
7
ui-tests/ui/type_alias.nil
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
//@check-pass
|
||||
|
||||
type A = (Int, Int);
|
||||
|
||||
function main() = (
|
||||
let a: A = (0, 0);
|
||||
);
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
//@check-pass
|
||||
|
||||
type CustomType = {};
|
||||
type CustomType = struct {};
|
||||
|
||||
function main() = ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue