Damn I didn't even know this language could do that, I guess an issue

with namespacing fixed itself
This commit is contained in:
Krzosa Karol
2022-09-30 16:36:55 +02:00
parent 233115cf2c
commit a6f6147df3
11 changed files with 69 additions and 61 deletions

View File

@@ -101,9 +101,9 @@ Print :: (string: String, args: ..)
buffer_len: S64
arg_counter := 0
for i := 0, i < Length(string), i+=1
for i := 0, i < Len(string), i+=1
if string[i] == '%'
Assert(arg_counter < Length(args), "Passing too many [%] to a print lambda")
Assert(arg_counter < Len(args), "Passing too many [%] to a print lambda")
arg := args[arg_counter++]
if arg.type == S64