Actions
Bug #20637
closedSyntaxError class definition in method body can be bypassed
Bug #20637:
SyntaxError class definition in method body can be bypassed
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.4.0dev (2024-07-11T06:59:45Z master a1f7432550) [x86_64-linux]
Updated by zverok (Victor Shepelev) almost 2 years ago
Updated by tompng (tomoya ishida) almost 2 years ago
Updated by matz (Yukihiro Matsumoto) almost 2 years ago
Hmm, I think I'd let them unchanged. I don't think it's worth prohibiting constant definition in singleton class definitions.
Matz.
Updated by matz (Yukihiro Matsumoto) almost 2 years ago
- Status changed from Open to Closed
Actions