diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-11-19 10:28:05 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-11-22 11:07:36 -0800 |
commit | 1f6351461c5d3654aeff2355c96fe54bb28469f8 (patch) | |
tree | 689a9395b358515b4aeec4dabaa5a9d7c1e01723 /unittests | |
parent | d9b49049410084eca3cfcb3bbc1c64ba0322a813 (diff) | |
download | meson-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