Compiler: Use compiler_frame for local types too. Instead of using parser stack magic (aka eg $0) to hold the current local type, use the compiler_frame->current_type field.