diff options
author | John Hawthorn <[email protected]> | 2024-11-26 16:40:47 -0800 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2024-11-29 20:41:00 -0800 |
commit | f1dda5ed011b79d0d7bd31b09b55b5e19d8abd0c (patch) | |
tree | c041fbb7590bbb9414aab605e00d0c6e570946c8 /defs | |
parent | a505cd32fb55aec0423c5b57d17ae31c076b44ab (diff) |
Warn when redefining __id__ as well as object_id
[Feature #20912]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12177
Diffstat (limited to 'defs')
-rw-r--r-- | defs/id.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/defs/id.def b/defs/id.def index 0dd36b0756..b1c6076518 100644 --- a/defs/id.def +++ b/defs/id.def @@ -8,6 +8,7 @@ firstline, predefined = __LINE__+1, %[\ inspect intern object_id + __id__ const_added const_missing method_missing MethodMissing |