semantic: Fix enums not being resolved
visitor: Make it possible to debug print expressions