summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authorJohn Hawthorn <[email protected]>2024-11-26 16:40:47 -0800
committerJohn Hawthorn <[email protected]>2024-11-29 20:41:00 -0800
commitf1dda5ed011b79d0d7bd31b09b55b5e19d8abd0c (patch)
treec041fbb7590bbb9414aab605e00d0c6e570946c8 /defs
parenta505cd32fb55aec0423c5b57d17ae31c076b44ab (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.def1
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