Closed noniq closed 8 years ago
It seems this can be fixed by changing the regexp for matching the end of the argument list (line 158) from (?=,|\)\s*$)
to (?=,|\)\s*($|#))
, but not sure if this causes unwanted side effects.
Fixed, thanks for the report!
Example to reproduce:
Screenshot:
Does not happen if the comment sign is removed, if there are no parens around the method argument, or if there are no method arguments at all.