aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Users.md
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-01 13:48:00 -0700
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-02 11:23:45 +0200
commitec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1 (patch)
treedf8b8d494ddf37bcec13cd97a9f2f48e1d4bcb9f /docs/markdown/Users.md
parent0755be50482ed21cf5022d7880fbbae8a73747e1 (diff)
downloadmeson-ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1.zip
meson-ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1.tar.gz
meson-ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1.tar.bz2
dependencies: Fix type of dependency_factory decorator
There was both a straight up bug in the type signature (the return type is List[Callable[[], Dependency]] not List[Type[Dependency]]), and in the way the arguments are assembled. Typing is pretty limited in it's ability to express decorators, so the best mypy can do is check the return types (I think). I've done what the docs suggest and it's stopped complaining.
Diffstat (limited to 'docs/markdown/Users.md')
0 files changed, 0 insertions, 0 deletions