Functions have unique names now unless they are foreign, probably will

need a keyword to not mangle the names.
This commit is contained in:
Krzosa Karol
2022-09-28 14:55:56 +02:00
parent 83ffc82f79
commit aa1da4e926
12 changed files with 69 additions and 31 deletions

View File

@@ -11,6 +11,7 @@ be nice if handling of that was simplified.
*/
main :: (): int
static_array: [8]int
@@ -50,4 +51,5 @@ main :: (): int
// example in a single line
for slice;; *it = 2
Assert(static_array[2] == 2)
Assert(static_array[2] == 2)
return 0