modify typebuilder and irbuilder to seperate compile error from irbuilder