Typedef works for simple case
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user