From: eregontp@... Date: 2020-09-26T13:20:38+00:00 Subject: [ruby-core:100174] [Ruby master Feature#17195] Freeze Enumerator::ArithmeticSequence objects Issue #17195 has been reported by Eregon (Benoit Daloze). ---------------------------------------- Feature #17195: Freeze Enumerator::ArithmeticSequence objects https://bugs.ruby-lang.org/issues/17195 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal ---------------------------------------- Now, all Ranges are frozen (#15504). Enumerator::ArithmeticSequence is very similar to Range, just with an extra `step`. They're essentially already immutable, except that one could use set instance variables, but it seems of little use. So, should we make Enumerator::ArithmeticSequence frozen too? -- https://bugs.ruby-lang.org/ Unsubscribe: