Open TSMMark opened 1 year ago
reproduced in test/test_debride.rb with case:
def test_hash_shorthand
ruby = <<-RUBY.strip
class Seattle
def self.status
{ raining?: }
end
def self.raining?
true
end
end
Seattle.status
RUBY
assert_process [], ruby
end
Failure:
TestDebride#test_hash_shorthand [test/test_debride.rb:274]:
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[["Seattle", [:raining?]]]
got a fix, pr incoming
I imagine this would be an easy fix