ruby / spec

The Ruby Spec Suite aka ruby/spec
MIT License
588 stars 384 forks source link

Add specs for `for` loop with attribute target #1166

Closed herwinw closed 3 weeks ago

herwinw commented 3 weeks ago

The specs with safe navigation require a segfault with MRI until very recent versions (https://bugs.ruby-lang.org/issues/20468), so these had to be wrapped in eval blocks.

andrykonchin commented 3 weeks ago

Thank you!