Issue #11749 has been updated by Nobuyoshi Nakada. Eric Wong wrote: > @nobu: They appeared in r19781 when the *_{getter,setter,marker} > methods were made public, presumably to minimize the size of the > diff. > > Will commit in a week or so unless there are objections. Yes, please fix it. ---------------------------------------- Feature #11749: [PATCH] variable.c: remove spurious #define for globals https://bugs.ruby-lang.org/issues/11749#change-55140 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: ---------------------------------------- variable.c: remove spurious #define for globals Removing the indirection helps me with readability, at least. It doesn't seem like there are many other places in the Ruby code where macros are used like this. @nobu: They appeared in r19781 when the *_{getter,setter,marker} methods were made public, presumably to minimize the size of the diff. Will commit in a week or so unless there are objections. ---Files-------------------------------- 0001-variable.c-remove-spurious-define-for-globals.patch (10.2 KB) -- https://bugs.ruby-lang.org/