Uh oh!
There was an error while loading. Please reload this page.
Replace C extension ToRuby#init_data with Data#initialize bind_call - #765
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
eregon
commented
Dec 11, 2025
headius
commented
Dec 11, 2025
I'm +1 for this change but I still think we should disallow anonymous Data types from being dumped. It doesn't do what anyone would expect and will create a new Data class for each such object in the stream. I'll put together a PR. |
d38dade to
6a82669Compareheadius
commented
Dec 11, 2025
headius
commented
Dec 11, 2025
The instance variable-related tests on JRuby will be fixed by jruby/jruby#9138. Instance variables on Data subtypes is still pretty hacky and only supports immediate children, but the fix here passes all tests on this branch and instance variables on direct subtypes of a Data type work properly. |
nevans
commented
Dec 11, 2025
@headius I deleted that |
headius
commented
Dec 11, 2025
@nevans Thank you; I believe once my JRuby PR lands this should be green on jruby-head. |
headius
commented
Dec 12, 2025
I restarted the failed jobs since I believe both JRuby and TR have pushed updated head builds. |
headius
commented
Dec 12, 2025
Something very strange going on with the JRuby job on Windows but it's very unlikely to be related to this PR. I'll look into it tomorrow. |
eregon
commented
Dec 13, 2025
Nit: the comments in Also if it's only JRuby on Windows failing I'd be inclined to exclude it for now, and reenable it when it's fixed (still better than no JRuby testing at all like on current master). |
eregon
commented
Dec 13, 2025
Re JRuby on Windows the failure is: Which means |
eregon
commented
Dec 13, 2025
Actually rake-compiler is already 1.3.0 which has this PR: |
eregon
commented
Dec 13, 2025
I found the issue: rake-compiler/rake-compiler#247 (comment) |
eregon
commented
Dec 13, 2025
I've rerun the jruby windows job after ruby/setup-ruby#836 so it should be green now, or at least proceed further than |
eregon
commented
Dec 13, 2025
I pushed a commit for that. |
Uh oh!
There was an error while loading. Please reload this page.
headius
commented
Dec 15, 2025
Thanks for the extra fix in setup-ruby! |
See prior discussions here: