diff options
Diffstat (limited to 'ddl/out/LambdaCube.TypeInfo.cpp')
-rw-r--r-- | ddl/out/LambdaCube.TypeInfo.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ddl/out/LambdaCube.TypeInfo.cpp b/ddl/out/LambdaCube.TypeInfo.cpp index a965e4f..c68fc2d 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-02-26T11:29:11.823283000000Z | 2 | // 2016-02-26T11:37:22.609565000000Z |
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) { |
@@ -77,6 +77,7 @@ template<> json toJSON<std::shared_ptr<CompileResult>>(std::shared_ptr<CompileRe | |||
77 | std::shared_ptr<data::CompileError> tv = std::static_pointer_cast<data::CompileError>(v); | 77 | std::shared_ptr<data::CompileError> tv = std::static_pointer_cast<data::CompileError>(v); |
78 | obj["arg0"] = toJSON(tv->_0); | 78 | obj["arg0"] = toJSON(tv->_0); |
79 | obj["arg1"] = toJSON(tv->_1); | 79 | obj["arg1"] = toJSON(tv->_1); |
80 | obj["arg2"] = toJSON(tv->_2); | ||
80 | } | 81 | } |
81 | break; | 82 | break; |
82 | case ::CompileResult::tag::Compiled: | 83 | case ::CompileResult::tag::Compiled: |
@@ -98,8 +99,9 @@ template<> std::shared_ptr<CompileResult> fromJSON<std::shared_ptr<CompileResult | |||
98 | if (tag == "CompileError") { | 99 | if (tag == "CompileError") { |
99 | tagType = ::CompileResult::tag::CompileError; | 100 | tagType = ::CompileResult::tag::CompileError; |
100 | std::shared_ptr<data::CompileError> tv(new data::CompileError()); | 101 | std::shared_ptr<data::CompileError> tv(new data::CompileError()); |
101 | tv->_0 = fromJSON(W<std::vector<std::shared_ptr<::TypeInfo>>>(), obj["arg0"]); | 102 | tv->_0 = fromJSON(W<std::vector<std::shared_ptr<::Range>>>(), obj["arg0"]); |
102 | tv->_1 = fromJSON(W<std::vector<std::shared_ptr<::TypeInfo>>>(), obj["arg1"]); | 103 | tv->_1 = fromJSON(W<String>(), obj["arg1"]); |
104 | tv->_2 = fromJSON(W<std::vector<std::shared_ptr<::TypeInfo>>>(), obj["arg2"]); | ||
103 | return tv; | 105 | return tv; |
104 | } | 106 | } |
105 | else if (tag == "Compiled") { | 107 | else if (tag == "Compiled") { |