Typedef works for simple case

This commit is contained in:
Krzosa Karol
2022-05-27 15:18:07 +02:00
parent 8875b61970
commit 79aa52e726
4 changed files with 33 additions and 26 deletions

View File

@@ -7,7 +7,9 @@ plus some cleanups before adding more complications to the code
*/
if_stmt :: (cond: int): int
type :: int
if_stmt :: (cond: int): type
CONSTANT :: 10
thing := 10
if i := thing + cond, cond + CONSTANT