summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2026-01-11 09:54:18 +0100
committerJean Boussier <jean.boussier@gmail.com>2026-01-11 13:03:03 +0100
commit73be9992e93072be803ffd5173e29dcf597e04ef (patch)
treeafcc9e4de58deb80ebd751771b747a30dda2734d /test/ruby/test_lambda.rb
parent6a630d992ea6101bc2656f75954214f7e5babf7a (diff)
Disambiguate private and public RSTRUCT_ helpers
RSTRUCT_LEN / RSTRUCT_GET / RSTRUCT_SET all existing in two versions, one public that does type and frozens checks and one private that doesn't. The problem is that this is error prone because the public version is always accessible, but the private one require to include `internal/struct.h`. So you may have some code that rely on the public version, and later on the private header is included and changes the behavior. This already led to introducing a bug in YJIT & ZJIT: https://github.com/ruby/ruby/pull/15835
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions