Index: src/GenPoly/Box.cpp
===================================================================
--- src/GenPoly/Box.cpp	(revision af746ccdf606483f8f89907b52e8b9471c72df7c)
+++ src/GenPoly/Box.cpp	(revision 7a780ad23506507b6a1feccc46d18e12da183ceb)
@@ -43,10 +43,10 @@
 /// The layout type is used to represent sizes, alignments and offsets.
 ast::BasicType * makeLayoutType() {
-	return new ast::BasicType( ast::BasicType::LongUnsignedInt );
+	return new ast::BasicType( ast::BasicKind::LongUnsignedInt );
 }
 
 /// Fixed version of layout type (just adding a 'C' in C++ style).
 ast::BasicType * makeLayoutCType() {
-	return new ast::BasicType( ast::BasicType::LongUnsignedInt,
+	return new ast::BasicType( ast::BasicKind::LongUnsignedInt,
 		ast::CV::Qualifiers( ast::CV::Const ) );
 }
@@ -1617,5 +1617,5 @@
 ast::Type * polyToMonoType( CodeLocation const & location,
 		ast::Type const * declType ) {
-	auto charType = new ast::BasicType( ast::BasicType::Char );
+	auto charType = new ast::BasicType( ast::BasicKind::Char );
 	auto size = new ast::NameExpr( location,
 		sizeofName( Mangle::mangleType( declType ) ) );
