diff --git a/src/Windows12/Ast.hs b/src/Windows12/Ast.hs index d41544c..39b0dc7 100644 --- a/src/Windows12/Ast.hs +++ b/src/Windows12/Ast.hs @@ -183,7 +183,7 @@ instance Pretty Type where pretty BoolType = "bool" pretty CharType = "char" pretty (PtrType t) = pretty t <> "*" - pretty (ArrayType t) = pretty t <> "[]" + pretty (ArrayType t) = "[" <> pretty t <> "]" pretty (StructType s) = pretty s pretty (EnumType e) = pretty e pretty VoidType = "void"