@@ -94,7 +94,7 @@ literals = mkPattern' match
94 match (CppBooleanLiteral False) = return "false"
94 match (CppBooleanLiteral False) = return "false"
95 match (CppArrayLiteral []) = return $ runType arrayType <> "{}"
95 match (CppArrayLiteral []) = return $ runType arrayType <> "{}"
96 match (CppArrayLiteral [x]) =
96 match (CppArrayLiteral [x]) =
97− return $ runType arrayType <> "{ { " <> prettyPrintCpp1 x <> " } }"
97+ return $ runType arrayType <> "{ {" <> prettyPrintCpp1 x <> "} }"
98 match (CppArrayLiteral xs) = mconcat <$> sequence
98 match (CppArrayLiteral xs) = mconcat <$> sequence
99 [ return $ runType arrayType
99 [ return $ runType arrayType
100 , return "{ "
100 , return "{ "
@@ -102,7 +102,7 @@ literals = mkPattern' match
102 , return " }"
102 , return " }"
104 match (CppDataLiteral [x]) =
104 match (CppDataLiteral [x]) =
105− return $ runType (dataType 1) <> "{ { " <> prettyPrintCpp1 x <> " } }"
105+ return $ runType (dataType 1) <> "{ {" <> prettyPrintCpp1 x <> "} }"
106 match (CppDataLiteral xs) = mconcat <$> sequence
106 match (CppDataLiteral xs) = mconcat <$> sequence
107 [ return $ runType (dataType $ length xs)
107 [ return $ runType (dataType $ length xs)
108 , return "{ "
108 , return "{ "