Python: support callbacks to library calls

TODO:
The member predicate `LibraryLambdaMethod::getACall` is
currently too permissive.
Ideally, we would have `libraryCallHasLambdaArg`
as in Ruby. But even a more precise
`libraryCall` predicate might be fine.
This commit is contained in:
Rasmus Lerchedahl Petersen
2023-12-05 22:50:01 +01:00
parent 7565873e83
commit 17a0029585
3 changed files with 36 additions and 1 deletions

View File

@@ -45,4 +45,4 @@ def test_library_call():
for x in map(set, [1]):
pass
SINK(captured["x"]) #$ MISSING:captured
SINK(captured["x"]) #$ captured