You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this works on CRuby 2.1 -> 2.5 (probably also 2.6, didn't run it yet)
Actual Behavior
This doesn't work:
URI("http://bang.com:8080").authority#=> NoMethodError: undefined method `authority' for #<URI::HTTP http://bang.com># however, this works:```rubyURI::Generic.new(scheme: "http",host: "bang.com",port: "8080").authority#=> "bang.com:8080"
The text was updated successfully, but these errors were encountered:
This is not fixed by #5627 but should be fixed by follow-up refinement work. The issue here is likely due to problems propagating refinements from parent scopes to child scopes at scope initiation time.
Environment
Provide at least:
jruby -v
) :jruby 9.2.5.0 (2.5.0) 2018-12-06 6d5a228 OpenJDK 64-Bit Server VM 25.181-b13 on 1.8.0_181-b13 +jit [linux-x86_64]
uname -a
):Linux 4d5914318003 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 Linux
Expected Behavior
I'm refining the
URI::Generic
class, the base class of all URI's:where I'll hopefully call this method in
URI::HTTP
andURI::HTTPS
:this works on CRuby 2.1 -> 2.5 (probably also 2.6, didn't run it yet)
Actual Behavior
This doesn't work:
The text was updated successfully, but these errors were encountered: