**Environment Information** * jruby 10.0.1.0 (3.4.2) 2025-07-17 0f10d1dfdf OpenJDK 64-Bit Server VM 24.0.2+12 on 24.0.2+12 +indy +jit [x86_64-mswin32] * Windows 11 Pro **Expected Behavior** [https://docs.ruby-lang.org/en/3.4/Proc.html#class-Proc-label-it](https://docs.ruby-lang.org/en/3.4/Proc.html#class-Proc-label-it) Under the nested it section ``` %w[test me].each { it.each_char { p it } } # Prints "t", "e", "s", "t", "m", "e" ``` **Actual Behavior** ``` .\jruby -e '%w[test me].each { it.each_char { p it } }' "test" "test" "test" "test" "me" "me" ``` <img width="1576" height="481" alt="Image" src="https://github.com/user-attachments/assets/c037fc12-3c8e-42ea-855d-4a357061720d" />
Environment Information
Expected Behavior
https://docs.ruby-lang.org/en/3.4/Proc.html#class-Proc-label-it
Under the nested it section
Actual Behavior