summaryrefslogtreecommitdiff
path: root/doc/ale-solidity.txt
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-03-04 20:56:22 +0000
committerGitHub <noreply@github.com>2020-03-04 20:56:22 +0000
commit8f7ccdc5e95302223c516a0113f5af7e075dc041 (patch)
tree58c960285486a80745264ab94e72725d30b762ea /doc/ale-solidity.txt
parent634c81fd465269f59e3db878fe8405828e6d2da9 (diff)
downloadale-8f7ccdc5e95302223c516a0113f5af7e075dc041.zip
Refactor the "s:LoadArgCount()" function (#3025)
* Refactor the "s:LoadArgCount()" function Previously, this function would always set "v:errmsg" on the first call with a given function. This is because autoloaded functions are not defined on the first call. A number of improvements have been made: - a useless local function ("l:Function") is removed - the "execute()" builtin captures the output, instead of ":redir" - a ":try" block handles the case where a function is not defined - a useless ":if" is removed since ":redir" always defines the var - confusing quoting is re-written (remove double "'" chars) Fixes: #3021
Diffstat (limited to 'doc/ale-solidity.txt')
0 files changed, 0 insertions, 0 deletions