diff options
Diffstat (limited to 'ddl/out/LambdaCube.TypeInfo.cpp')
-rw-r--r-- | ddl/out/LambdaCube.TypeInfo.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ddl/out/LambdaCube.TypeInfo.cpp b/ddl/out/LambdaCube.TypeInfo.cpp index 34aaf21..e3c8ff2 100644 --- a/ddl/out/LambdaCube.TypeInfo.cpp +++ b/ddl/out/LambdaCube.TypeInfo.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-11-10T15:07:11.972496000000Z | 2 | // 2016-11-10T16:02:38.361054000000Z |
3 | 3 | ||
4 | #include "LambdaCube.TypeInfo.hpp" | 4 | #include "LambdaCube.TypeInfo.hpp" |
5 | template<> json toJSON<std::shared_ptr<Range>>(std::shared_ptr<Range> &v) { | 5 | template<> json toJSON<std::shared_ptr<Range>>(std::shared_ptr<Range> &v) { |
@@ -140,6 +140,7 @@ template<> json toJSON<std::shared_ptr<CompileResult>>(std::shared_ptr<CompileRe | |||
140 | obj["arg0"] = toJSON(tv->_0); | 140 | obj["arg0"] = toJSON(tv->_0); |
141 | obj["arg1"] = toJSON(tv->_1); | 141 | obj["arg1"] = toJSON(tv->_1); |
142 | obj["arg2"] = toJSON(tv->_2); | 142 | obj["arg2"] = toJSON(tv->_2); |
143 | obj["arg3"] = toJSON(tv->_3); | ||
143 | } | 144 | } |
144 | break; | 145 | break; |
145 | case ::CompileResult::tag::Compiled: | 146 | case ::CompileResult::tag::Compiled: |
@@ -163,9 +164,10 @@ template<> std::shared_ptr<CompileResult> fromJSON<std::shared_ptr<CompileResult | |||
163 | if (tag == "CompileError") { | 164 | if (tag == "CompileError") { |
164 | tagType = ::CompileResult::tag::CompileError; | 165 | tagType = ::CompileResult::tag::CompileError; |
165 | std::shared_ptr<data::CompileError> tv(new data::CompileError()); | 166 | std::shared_ptr<data::CompileError> tv(new data::CompileError()); |
166 | tv->_0 = fromJSON(W<std::vector<std::shared_ptr<::TypeInfo>>>(), obj["arg0"]); | 167 | tv->_0 = fromJSON(W<String>(), obj["arg0"]); |
167 | tv->_1 = fromJSON(W<std::vector<std::shared_ptr<::WarningInfo>>>(), obj["arg1"]); | 168 | tv->_1 = fromJSON(W<std::vector<std::shared_ptr<::TypeInfo>>>(), obj["arg1"]); |
168 | tv->_2 = fromJSON(W<std::vector<std::shared_ptr<::ErrorInfo>>>(), obj["arg2"]); | 169 | tv->_2 = fromJSON(W<std::vector<std::shared_ptr<::WarningInfo>>>(), obj["arg2"]); |
170 | tv->_3 = fromJSON(W<std::vector<std::shared_ptr<::ErrorInfo>>>(), obj["arg3"]); | ||
169 | return tv; | 171 | return tv; |
170 | } | 172 | } |
171 | else if (tag == "Compiled") { | 173 | else if (tag == "Compiled") { |