When I enable type checking (set to 1 through 3, with 0 as the setting, no error) I get:
BUILD: ERROR: Could not parse Monkey C IR.
No more info is shown so no idea what that means or how to fix it. (not extra info if I add -g to the compile options)