diff options
author | Anand Thakker <github@anandthakker.net> | 2017-07-07 17:06:28 -0400 |
---|---|---|
committer | Anand Thakker <github@anandthakker.net> | 2017-07-07 17:17:44 -0400 |
commit | a6d0cf83b1cba21e4b7b8420a69f6c2643bb7899 (patch) | |
tree | 23ffc5c07e80356a7190d8a77c87ad4c18b44236 /platform | |
parent | d1b85505cde735cf40b37c994423380d6c0b02ac (diff) | |
download | qtlocation-mapboxgl-a6d0cf83b1cba21e4b7b8420a69f6c2643bb7899.tar.gz |
Add initial impl of +, -, *, /
Diffstat (limited to 'platform')
-rw-r--r-- | platform/node/src/node_expression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_expression.cpp b/platform/node/src/node_expression.cpp index dc9a50abd4..c6c2a04bfb 100644 --- a/platform/node/src/node_expression.cpp +++ b/platform/node/src/node_expression.cpp @@ -131,7 +131,7 @@ void NodeExpression::GetType(const Nan::FunctionCallbackInfo<v8::Value>& info) { NodeExpression* nodeExpr = ObjectWrap::Unwrap<NodeExpression>(info.Holder()); const auto& expression = nodeExpr->expression; - const auto& type = expression->getType(); + const auto& type = expression->getResultType(); const auto& name = type.match([&] (const auto& t) { return t.getName(); }); info.GetReturnValue().Set(Nan::New(name.c_str()).ToLocalChecked()); } |