ChaiScript / ChaiScript

Compare a7dae37 ... +0 ... 85e4598

Coverage Reach
include/chaiscript/language/chaiscript_parser.hpp include/chaiscript/language/chaiscript_eval.hpp include/chaiscript/language/chaiscript_common.hpp include/chaiscript/language/chaiscript_optimizer.hpp include/chaiscript/language/chaiscript_engine.hpp include/chaiscript/language/chaiscript_algebraic.hpp include/chaiscript/language/chaiscript_posix.hpp include/chaiscript/language/chaiscript_tracer.hpp include/chaiscript/language/chaiscript_prelude.hpp include/chaiscript/dispatchkit/dispatchkit.hpp include/chaiscript/dispatchkit/boxed_number.hpp include/chaiscript/dispatchkit/proxy_functions.hpp include/chaiscript/dispatchkit/bootstrap.hpp include/chaiscript/dispatchkit/bootstrap_stl.hpp include/chaiscript/dispatchkit/type_conversions.hpp include/chaiscript/dispatchkit/boxed_value.hpp include/chaiscript/dispatchkit/dynamic_object_detail.hpp include/chaiscript/dispatchkit/boxed_cast_helper.hpp include/chaiscript/dispatchkit/type_info.hpp include/chaiscript/dispatchkit/handle_return.hpp include/chaiscript/dispatchkit/any.hpp include/chaiscript/dispatchkit/dynamic_object.hpp include/chaiscript/dispatchkit/function_call.hpp include/chaiscript/dispatchkit/function_params.hpp include/chaiscript/dispatchkit/function_call_detail.hpp include/chaiscript/dispatchkit/operators.hpp include/chaiscript/dispatchkit/proxy_functions_detail.hpp include/chaiscript/dispatchkit/register_function.hpp include/chaiscript/dispatchkit/boxed_cast.hpp include/chaiscript/dispatchkit/bad_boxed_cast.hpp include/chaiscript/dispatchkit/proxy_constructors.hpp include/chaiscript/dispatchkit/exception_specification.hpp include/chaiscript/dispatchkit/function_signature.hpp include/chaiscript/utility/json.hpp include/chaiscript/utility/json_wrap.hpp include/chaiscript/utility/quick_flat_map.hpp include/chaiscript/utility/static_string.hpp include/chaiscript/utility/utility.hpp include/chaiscript/utility/hash.hpp include/chaiscript/chaiscript_defines.hpp include/chaiscript/chaiscript_threading.hpp include/chaiscript/chaiscript_stdlib.hpp include/chaiscript/chaiscript.hpp unittests/catch.hpp unittests/compiled_tests.cpp unittests/integer_literal_test.cpp unittests/boxed_cast_test.cpp unittests/multithreaded_test.cpp unittests/type_info_test.cpp unittests/multifile_test_module.cpp unittests/c_linkage_test.cpp unittests/multifile_test_main.cpp unittests/multifile_test_chai.cpp unittests/static_chaiscript.cpp src/main.cpp src/test_module.cpp src/stl_extra.cpp src/chaiscript_stdlib_module.cpp static_libs/chaiscript_parser.cpp static_libs/chaiscript_stdlib.cpp

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -331,7 +331,6 @@
Loading
331 331
332 332
          Boxed_Value fn(this->children[0]->eval(t_ss));
333 333
334 -
          using ConstFunctionTypePtr = const dispatch::Proxy_Function_Base *;
335 334
          try {
336 335
            return (*t_ss->boxed_cast<const dispatch::Proxy_Function_Base *>(fn))(Function_Params{params}, t_ss.conversions());
337 336
          }

@@ -156,7 +156,7 @@
Loading
156 156
157 157
158 158
      m_engine.add(fun(
159 -
            [=, this](const dispatch::Proxy_Function_Base &t_fun, const std::vector<Boxed_Value> &t_params) -> Boxed_Value {
159 +
            [this](const dispatch::Proxy_Function_Base &t_fun, const std::vector<Boxed_Value> &t_params) -> Boxed_Value {
160 160
              Type_Conversions_State s(this->m_engine.conversions(), this->m_engine.conversions().conversion_saves());
161 161
              return t_fun(Function_Params{t_params}, s);
162 162
            }), "call");
@@ -168,7 +168,7 @@
Loading
168 168
      m_engine.add(fun([this](const std::string &t_type_name){ return m_engine.get_type(t_type_name, true); }), "type");
169 169
170 170
      m_engine.add(fun(
171 -
            [=, this](const Type_Info &t_from, const Type_Info &t_to, const std::function<Boxed_Value (const Boxed_Value &)> &t_func) {
171 +
            [this](const Type_Info &t_from, const Type_Info &t_to, const std::function<Boxed_Value (const Boxed_Value &)> &t_func) {
172 172
              m_engine.add(chaiscript::type_conversion(t_from, t_to, t_func));
173 173
            }
174 174
          ), "add_type_conversion");

Learn more Showing 1 files with coverage changes found.

Changes in include/chaiscript/dispatchkit/boxed_cast.hpp
-1
+1
Loading file...
Files Coverage
include/chaiscript 0.02% 88.90%
src 72.79%
static_libs 100.00%
unittests 45.33%
Project Totals (60 files) 69.11%
Loading