Currently, when checkTypes() hits a print statement, it makes a MatchError. I'd rather not special-case these, is there a way to make it count as a regular function call here? Maybe through adding a fake node at global scope the same way we add "this" to class scopes?
Currently, when
checkTypes()
hits a print statement, it makes aMatchError
. I'd rather not special-case these, is there a way to make it count as a regular function call here? Maybe through adding a fake node at global scope the same way we add "this" to class scopes?