git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: nicer name for data constructor name key
commit58b91a510aaf9d33afb29b26d24bb750809c425e authorAndy Arvanitis <andyarvanitis@gmail.com> dateSat 27 Feb 2016, 14:35 (11 years ago) parent437bcfc
2 files changed+2−2
pcc/include/purescript.hh+1−1 src/Language/PureScript/CodeGen/Cpp/Types.hs+1−1
pcc/include/purescript.hh+1−1
@@ -57,7 +57,7 @@ public:
5757};
5858
5959const bool undefined = false;
60−const size_t kDataCtor = 0;
60+const size_t constructor = 0;
6161
6262// A variant data class designed to provide some features of dynamic typing.
6363//
src/Language/PureScript/CodeGen/Cpp/Types.hs+1−1
@@ -125,4 +125,4 @@ unthunkMarkerValue :: String
125125unthunkMarkerValue = "any::unthunk"
126126
127127ctorKey :: String
128−ctorKey = "kDataCtor"
128+ctorKey = "constructor"