Skip to content

Commit 1ab0a82

Browse files
Tianhan Lumeta-codesync[bot]
authored andcommitted
Handle Union types when creating call targets from pyrefly CallTarget
Reviewed By: arthaud Differential Revision: D85703726 fbshipit-source-id: 2fe75ce8cd7a6c2e742f6da297c31279d453208e
1 parent d73ce4b commit 1ab0a82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/interprocedural/test/callGraphTest.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,7 +2676,7 @@ let test_call_graph_of_define =
26762676
(* TODO(T105570363): Resolve calls with mixed function and methods. *)
26772677
labeled_test_case __FUNCTION__ __LINE__
26782678
@@ assert_call_graph_of_define
2679-
~_migrated_to_pyrefly:false
2679+
~_migrated_to_pyrefly:true
26802680
~cmp:DefineCallGraphForTest.equal_ignoring_types
26812681
~source:
26822682
{|
@@ -2749,7 +2749,7 @@ let test_call_graph_of_define =
27492749
(* TODO(T105570363): Resolve calls with mixed function and constructors. *)
27502750
labeled_test_case __FUNCTION__ __LINE__
27512751
@@ assert_call_graph_of_define
2752-
~_migrated_to_pyrefly:false
2752+
~_migrated_to_pyrefly:true
27532753
~cmp:DefineCallGraphForTest.equal_ignoring_types
27542754
~source:
27552755
{|

0 commit comments

Comments
 (0)