修复 WrapFnCall 函数中的参数解析问题和kv_split 函数的切分问题 #132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题1:WrapFnCall 函数中的参数解析问题
问题详情platypus issue#56
1.在函数调用时,
$\qquad$ 一些特殊情况:(函数:
WrapFnCall函数无法正确处理缺省参数,导致数组下标越界。2.
WrapFnCall处理函数调用时,对关键字参数只是简单取右值,未能将关键字与参数正确对应。pt_kvs_keys(tags:_ bool = true, fields: bool = true))解决方案:
paramMap来确保关键字与参数值一一对应。问题2:kv_split 函数的切分问题
相关ligai
1.value中存在切割符会导致value被切开
解决方案: