[#118346] [Ruby master Bug#20586] Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted — "ivoanjo (Ivo Anjo) via ruby-core" <ruby-core@...>
Issue #20586 has been reported by ivoanjo (Ivo Anjo).
13 messages
2024/06/19
[ruby-core:118252] [Ruby master Feature#20565] Relax formal argument at label
From:
"Eregon (Benoit Daloze) via ruby-core" <ruby-core@...>
Date:
2024-06-08 12:11:08 UTC
List:
ruby-core #118252
Issue #20565 has been updated by Eregon (Benoit Daloze). I think it should remain forbidden, arguments must be local variables, but `C` and `$g` are not valid local variable names. ---------------------------------------- Feature #20565: Relax formal argument at label https://bugs.ruby-lang.org/issues/20565#change-108749 * Author: nobu (Nobuyoshi Nakada) * Status: Open ---------------------------------------- Just a thought: if `def foo(if:)` is possible, shouldn't `def foo(C:)` and `def foo($g:)` also be possible...? -- https://bugs.ruby-lang.org/