I don't know many exact cases, where errors occur, mostly it happened while trying to include some files in https://github.com/porky11/dale-gl
Some simple example:
(namespace include
(include "enum.dt")
(def print-enum (fn intern void ((a enum)) ;;type enum not defined in this scope
(printf "%u" a)))
)
(def main (fn extern-c void (void)
(print-enum value)))
I don't know many exact cases, where errors occur, mostly it happened while trying to include some files in https://github.com/porky11/dale-gl Some simple example:
where enum.dt is: