aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-02 15:30:12 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-07-15 10:59:22 -0700
commitf574beffb4d7e26ba21d1bbc5ad6f36a23df0bfc (patch)
tree587ab9ceffd7a7c68054a370f8b5cdc60f0c8b52 /meson.py
parent5d685e7a5c5d2705591d908ec985b6cc8994c4d9 (diff)
downloadmeson-f574beffb4d7e26ba21d1bbc5ad6f36a23df0bfc.zip
meson-f574beffb4d7e26ba21d1bbc5ad6f36a23df0bfc.tar.gz
meson-f574beffb4d7e26ba21d1bbc5ad6f36a23df0bfc.tar.bz2
compilers/mixins/elbrus: add type annotations and fix types
There is a pretty big error in here, trying to return a tuple comperhension: (a for a in []) is not a tuple, it's a generator. This has profound type annotations: generators don't support most tuple or list methods, and they can only be iterated once. Beyond that tuples are meant for heterogenous types, ie, position matters for types. I've converted the output to a list in all cases.
Diffstat (limited to 'meson.py')
0 files changed, 0 insertions, 0 deletions