This can be triggered if someone tries to call a non-ID. The example reproducer was: ``` if (var = dependency(...)).found() ``` This produced a traceback ending in ``` raise InvalidArguments(f'Variable "{object_name}" is not callable.') UnboundLocalError: local variable 'object_name' referenced before assignment ``` After this commit, the error is reported as: ``` ERROR: AssignmentNode is not callable. ```pull/10758/head
parent
2c1ac8ac1d
commit
78bf1ec56e
1 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue