Adding another generated type breaks the compiler with "error in pass3"