From 69ced55e3e9fc4c4b8a329056d4d33e26200b2ba Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 9 Aug 2021 13:56:16 -0400 Subject: [PATCH] modules: Fix typo in state.test() Fixes: #9081 --- mesonbuild/modules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/__init__.py b/mesonbuild/modules/__init__.py index 12bb73acf..737a01c2f 100644 --- a/mesonbuild/modules/__init__.py +++ b/mesonbuild/modules/__init__.py @@ -101,7 +101,7 @@ class ModuleState: 'depends': depends, } # TODO: Use interpreter internal API, but we need to go through @typed_kwargs - self._interpreter.func_test(self.node, args, kwargs) + self._interpreter.func_test(self.current_node, args, kwargs) class ModuleObject(HoldableObject):