Yes, it definately is a codegenerator bug.