Index: src/CodeGen/GenType.cc
===================================================================
--- src/CodeGen/GenType.cc	(revision 486341f038e1f9ecaa54644f8c0f7a9679756b9a)
+++ src/CodeGen/GenType.cc	(revision 32b018eb28cdf22cb8857d44fc875ca9a69d6b29)
@@ -42,4 +42,6 @@
 		virtual void visit( TypeInstType *typeInst );
 		virtual void visit( VarArgsType *varArgsType );
+		virtual void visit( ZeroType *zeroType );
+		virtual void visit( OneType *oneType );
 
 	  private:
@@ -200,4 +202,16 @@
 	}
 
+	void GenType::visit( ZeroType *zeroType ) {
+		// ideally these wouldn't hit codegen at all, but should be safe to make them ints
+		typeString = "int " + typeString;
+		handleQualifiers( zeroType );
+	}
+
+	void GenType::visit( OneType *oneType ) {
+		// ideally these wouldn't hit codegen at all, but should be safe to make them ints
+		typeString = "int " + typeString;
+		handleQualifiers( oneType );
+	}
+
 	void GenType::handleQualifiers( Type *type ) {
 		if ( type->get_isConst() ) {
