mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
debug
This commit is contained in:
parent
582ad5668e
commit
0d62ae0814
29 changed files with 99479 additions and 1166 deletions
14
tests/types.lang
Normal file
14
tests/types.lang
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
alias T1 = Int;
|
||||
|
||||
type (T2 : #A #B #C);
|
||||
|
||||
// Define file level abstract type
|
||||
|
||||
T2 =
|
||||
| Int
|
||||
| Float
|
||||
| Complex;
|
||||
|
||||
// Compile module (functions, types, ...) for T2 = Int, Float, Complex
|
||||
|
||||
// ?? file level <-> module level ??
|
||||
Loading…
Add table
Add a link
Reference in a new issue