Closed bkuhlmann closed 10 months ago
Thanks, @bkuhlmann, I'll take a look.
Hey. :wave: Wanted to touch base on this. Would this be possible to support? I run into this a lot when working Data
primitives and would make using them more enjoyable when this isn't flagged.
Hi @bkuhlmann thanks for the ping. I've created a pull request for this.
Overview
Hello. :wave: I'm working on upgrading to Ruby 3.2.0 by leveraging the new Data primitive and discovered a slight bug where Reek doesn't handle a custom
Data
constructor.Screenshots
Steps to Recreate
latest
image. Otherwise, installing Ruby via your favorite Ruby version manager will work too.test.rb
and run asreek test.rb
to reproduce.Example Code Snippet
Workaround
As a workaround, I can configure Reek to ignore the source files with false positives but would definitely prefer not to have to do that. 😅
Environment