Commit 0fd0cae
authored
When replacing literals with placeholders lists are always converted to (#2518)
tuples
Summary:
THis is needed because lists are not hashable, since they are mutable,
and as a result we cannot have literals_to_ph in pattern rewrites used
inside reference_representation_rewrite.py
Test Plan:
CI + next diff relies on this feature
Reviewers:
Subscribers:
Tasks:
Tags:
[ghstack-poisoned]1 parent 246b142 commit 0fd0cae
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
| 1034 | + | |
| 1035 | + | |
1034 | 1036 | | |
1035 | 1037 | | |
1036 | 1038 | | |
| |||
0 commit comments