Index: src/AST/Expr.cpp
===================================================================
--- src/AST/Expr.cpp	(revision 1931bb01089a99a839382b07c869b845128790a0)
+++ src/AST/Expr.cpp	(revision efcd8f2323aace651ef5f31a13022319827bb26d)
@@ -272,5 +272,5 @@
 	// Adjust the length of the string for the terminator.
 	const Expr * strSize = from_ulong( loc, str.size() + 1 );
-	const Type * strType = new ArrayType( charType, strSize, FixedLen, StaticDim );
+	const Type * strType = new ArrayType( charType, strSize, FixedLen, DynamicDim );
 	const std::string strValue = "\"" + str + "\"";
 	return new ConstantExpr( loc, strType, strValue, std::nullopt );
