"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "analysis/test/callgraphTest.ml" between
pyre-check-0.0.54.tar.gz and pyre-check-0.0.55.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

callgraphTest.ml  (pyre-check-0.0.54):callgraphTest.ml  (pyre-check-0.0.55)
skipping to change at line 28 skipping to change at line 28
ScratchProject.setup ["test.py", source] ~include_typeshed_stubs:true ~con text ScratchProject.setup ["test.py", source] ~include_typeshed_stubs:true ~con text
|> ScratchProject.build_global_resolution |> ScratchProject.build_global_resolution
in in
Callgraph.DefaultBuilder.add_callee Callgraph.DefaultBuilder.add_callee
~global_resolution ~global_resolution
~target ~target
~callables ~callables
~arguments:[] ~arguments:[]
~dynamic:false ~dynamic:false
~qualifier:(Reference.create "test") ~qualifier:(Reference.create "test")
~callee_type:Type.Any
~callee:(parse_single_expression callee); ~callee:(parse_single_expression callee);
let printer = List.to_string ~f:Callgraph.show_callee in let printer = List.to_string ~f:Callgraph.show_callee in
assert_equal assert_equal
~printer ~printer
expected expected
( Callgraph.DefaultBuilder.get_all_callees () ( Callgraph.DefaultBuilder.get_all_callees ()
|> List.map ~f:(fun { Callgraph.callee; _ } -> callee) ) |> List.map ~f:(fun { Callgraph.callee; _ } -> callee) )
in in
let make_named name = let make_named name =
let name = Reference.create name in let name = Reference.create name in
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)