Ruby 2.3.3 released
ruby-lang.org
Ruby 2.3.3 released
1–10 of 23 posts
Re: Ruby 2.3.3 released
#2Re: Ruby 2.3.3 released
#3Random question, how is a regression like a 'no method error' possible? Don't the creators of these languages write extremely exhaustive tests? I don't know much about this, just wondering...
“This release contains a bug fix about Refinements and Module#prepend. The mixture use of Module#refine and Module#prepend to the same Class could cause unexpected NoMethodError. This is a regression on Ruby 2.3.2 released last week. See [Bug #12920] for details.”
Presumably it was discovered in the wild, fixed, test cases written, and that fix was pushed. Time taken: 6 days. https://www.ruby-lang.org/en/news/2016/11/15/ruby-2-3-2-rele...
[Bug #12920] https://bugs.ruby-lang.org/issues/12920
Re: Ruby 2.3.3 released
#4Random question, how is a regression like a 'no method error' possible? Don't the creators of these languages write extremely exhaustive tests? I don't know much about this, just wondering...
Looks to be a corner case not covered by existing tests prior to now. “This release contains a bug fix about Refinements and Module#prepend. The mixture use of Module#refine and Module#prepend to the same Class could cause unexpected NoMethodError. This is a regression on Ruby 2.3.2 released last week. See [Bug #12920] for details.” Presumably it was discovered in the wild, fixed, test cases written, and that fix was…
Re: Ruby 2.3.3 released
#5Re: Ruby 2.3.3 released
#6Is ruby dead? I would have expected more comments...
Re: Ruby 2.3.3 released
#7Is ruby dead? I would have expected more comments...
Re: Ruby 2.3.3 released
#8Is ruby dead? I would have expected more comments...
Re: Ruby 2.3.3 released
#9Earlier quoted context omitted.
Looks to be a corner case not covered by existing tests prior to now. “This release contains a bug fix about Refinements and Module#prepend. The mixture use of Module#refine and Module#prepend to the same Class could cause unexpected NoMethodError. This is a regression on Ruby 2.3.2 released last week. See [Bug #12920] for details.” Presumably it was discovered in the wild, fixed, test cases written, and that fix was…
Ok awesome, thanks for explaining!
Re: Ruby 2.3.3 released
#10Random question, how is a regression like a 'no method error' possible? Don't the creators of these languages write extremely exhaustive tests? I don't know much about this, just wondering...
Well, finite bound by the width of your pointer type, which doesn't help much.