Actions
Bug #19619
closedNumbered parameters don't work with method definition with parameters
Bug #19619:
Numbered parameters don't work with method definition with parameters
Description
This works:
This also works:
Even this works:
But this DOESN'T work:
So, when we define a method with parameters on an instance given as numbered parameters, it doesn't work. If we change one condition (definition way, parameter existence, and so on), it works.
Updated by okuramasafumi (Masafumi OKURA) over 3 years ago
Updated by nobu (Nobuyoshi Nakada) over 3 years ago
- Subject changed from Endless method definition with parameters for an instance given as numbered parameters doesn't work to Numbered parameters don't work with method definition with parameters
Updated by nobu (Nobuyoshi Nakada) over 3 years ago
- Status changed from Open to Closed
Applied in changeset git|b15e88e0fcccb03b9cc5e4c1478ec9b10e26c961.
[Bug #19619] Preserve numbered parameters context
Preserve numbered parameters context across method definitions
Updated by duerst (Martin Dürst) over 3 years ago
@nobu (Nobuyoshi Nakada) In the above commit, I think node_new_temporary would be clearer than node_new_temporal.
Updated by nobu (Nobuyoshi Nakada) over 2 years ago
- Backport changed from 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN to 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) about 2 years ago
- Backport changed from 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED to 3.0: REQUIRED, 3.1: REQUIRED, 3.2: DONE
ruby_3_2 483ad38c6968feb1990f36d48d14fd55988d2150 merged revision(s) b15e88e0fcccb03b9cc5e4c1478ec9b10e26c961.
Actions