Commit 434e792
committed
Update two FlowSensitiveTyping.new callers missed by #53
#53 added a required closure parameter to
FlowSensitiveTyping#initialize and updated every caller it knew about -
but its branch is based on castwide#1258, not
castwide#1259 (already merged into this integration branch
separately), so it never saw case_node.rb (added by castwide#1259) or the
already-existing call in orasgn_node.rb that castwide#1259 also touches.
Both call sites already had region.closure in scope; added it as the
5th argument, matching every other already-updated caller
(and_node.rb, if_node.rb, or_node.rb, while_node.rb).
Verified: spec/parser/flow_sensitive_typing_spec.rb (65 examples),
spec/parser (323 examples), and spec/source_map/clip_spec.rb all pass
locally with 0 failures.1 parent b008207 commit 434e792
2 files changed
Lines changed: 3 additions & 2 deletions
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments