Closed chastell closed 2 weeks ago
Running rspec on Ruby 2.7 blows up:
rspec
Failure/Error: klass.instance_eval(body) SyntaxError: (eval):1: syntax error, unexpected &&, expecting & or '&' def forty_two!(**, &&) ^~ (eval):2: syntax error, unexpected ',' ... __record__(:forty_two!, **, &&) ... ^
This renames the block and rest symbols from :& and :* so the code generation works.
block
rest
:&
:*
Thank you!
Running
rspec
on Ruby 2.7 blows up:This renames the
block
andrest
symbols from:&
and:*
so the code generation works.