ruby-syntax-tree/syntax_tree-haml

Silence Ruby 2.7 Pattern Matching Warning

nachiket87 opened this issue · 3 comments

There is a deprecation warning emitted when using Ruby 2.7

ruby/gems/2.7.0/gems/syntax_tree-haml-2.0.0/lib/syntax_tree/haml/format.rb:437: warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!

Please could this be silenced in the gem?

Sure yeah, I just removed the internal pattern matching

Hey! Thanks for fixing so fast! I would've loved to make the PR though 😀