aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-12-06 11:05:43 -0500
committerJemma Issroff <jemmaissroff@gmail.com>2023-12-06 11:31:43 -0500
commitf80262b14d01a977ce386a5a377e911a90ce328d (patch)
tree785407ea3e991fb4ab05e33e12d9c3fbb6f9371c /internal
parent64ab04da6ae15243e1615739f2529f37e532943d (diff)
downloadruby-f80262b14d01a977ce386a5a377e911a90ce328d.tar.gz
[PRISM] Account for nil parent in Call{Operator,And,Or}PathWriteNodes
Prior to this commit, we were not accounting for the case of a nil parent in a CallXPathWriteNode, for example ::A ||= 1. This commit checks if the parent exists, and if not, uses Object as the inferred parent
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions