mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
Fix codex issue
issue:https://gitee.com/openharmony/ace_ace_engine/issues/I53CR5 Signed-off-by: lihucheng <lihucheng1@huawei.com> On branch master Your branch is up to date with 'origin/master'.
This commit is contained in:
@@ -227,7 +227,7 @@ Local<JSValueRef> PandaFunctionData::Callback(panda::JsiRuntimeCallInfo *info) c
|
||||
std::vector<shared_ptr<JsValue>> argv;
|
||||
uint32_t length = info->GetArgsNumber();
|
||||
argv.reserve(length);
|
||||
for (int i = 0; i < length; ++i) {
|
||||
for (uint32_t i = 0; i < length; ++i) {
|
||||
argv.emplace_back(
|
||||
std::static_pointer_cast<JsValue>(std::make_shared<ArkJSValue>(runtime_, info->GetCallArgRef(i))));
|
||||
}
|
||||
|
||||
@@ -117,8 +117,8 @@ std::string JsiBaseUtils::JsiDumpSourceFile(const std::string& stackStr, const R
|
||||
// collect error info first
|
||||
for (uint32_t i = 1; i < res.size(); i++) {
|
||||
std::string temp = res[i];
|
||||
int32_t closeBracePos = temp.find(closeBrace);
|
||||
int32_t openBracePos = temp.find(openBrace);
|
||||
int32_t closeBracePos = static_cast<int32_t>(temp.find(closeBrace));
|
||||
int32_t openBracePos = static_cast<int32_t>(temp.find(openBrace));
|
||||
|
||||
std::string line = "";
|
||||
std::string column = "";
|
||||
|
||||
Reference in New Issue
Block a user