-
Notifications
You must be signed in to change notification settings - Fork 34
Closed as not planned
Description
While using constants of simple types as integers and strings works fine, using constants of an array yields to warnings when compiling. It results in an executable, but it is faulty and stops when trying to run.
Here is an example:
const a = mfill(m"", 2)
const a[1] = m"a"
const a[2] = m"b"
function f()
if a[1] == m"a"
printf(c"equal")
end
printf(c"end")
0
end
compile_executable(f, (), "C:\\jul\\staticcompiler")
Metadata
Metadata
Assignees
Labels
No labels