git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: nicer name for data constructor name key
6aeda1aAndy Arvanitis
src/Language/PureScript/CodeGen/Cpp/Common.hs+1−1
@@ -104,6 +104,7 @@ nameIsCppReserved name =
104 , "constexpr"
104 , "constexpr"
105 , "const_cast"
105 , "const_cast"
106 , "continue"
106 , "continue"
107+ , "constructor"
107 , "decltype"
108 , "decltype"
108 , "default"
109 , "default"
109 , "delete"
110 , "delete"
@@ -123,7 +124,6 @@ nameIsCppReserved name =
123 , "goto"
124 , "goto"
124 , "if"
125 , "if"
125 , "import"
126 , "import"
126− , "kDataCtor"
127 , "inline"
127 , "inline"
128 , "int"
128 , "int"
129 , "list"
129 , "list"