aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-11-19 10:28:05 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-11-22 11:07:36 -0800
commit1f6351461c5d3654aeff2355c96fe54bb28469f8 (patch)
tree689a9395b358515b4aeec4dabaa5a9d7c1e01723 /unittests
parentd9b49049410084eca3cfcb3bbc1c64ba0322a813 (diff)
downloadmeson-1f6351461c5d3654aeff2355c96fe54bb28469f8.zip
meson-1f6351461c5d3654aeff2355c96fe54bb28469f8.tar.gz
meson-1f6351461c5d3654aeff2355c96fe54bb28469f8.tar.bz2
typed_kwargs: move some closures around to increase code clarity
The inner closure of the typed_kwargs function is already complicated enough without defining closures in the middle of a loop. Let's just pass the types_tuple as an argument to both avoid redefining the function over and over, and also make the whole thing easier to read.
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions