Check for : @ and $ before 'do'#660
Conversation
Codecov Report
@@ Coverage Diff @@
## master #660 +/- ##
======================================
Coverage 5.08% 5.08%
======================================
Files 10 10
Lines 118 118
Branches 20 20
======================================
Hits 6 6
Misses 112 112
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
4dcce09 to
f2254b5
Compare
|
I'd just make it whatever is going to be right most of the time. Part of my radio silence on this is converting things over to the |
f2254b5 to
505c868
Compare
|
I heard about tree sitter, but I dont know much about it. This is just a quick fix in standard grammar file. |
test: add test
505c868 to
7f6ac76
Compare
|
Thank you! |
This is a fix for #658
First I just wanted to check that there is a start of line or space char before
dokeyword, but there is some weird cases where you can putdoright after the method name without space:I am pretty sure this will work for any of these methods:
+,-,*,/,^,%,&,|Blocks are rarely used with them and blocks without space between method name and
doI think almost never.So I am not sure what is better.