Closed yratanov closed 2 years ago
I reckon this is because of the workaround in #127 to fix a YARD bug. The default parameter in your example kind of begins with a unary minus symbol, but it's actually a ->
.
I'll take a look at this in the next couple of days! I don't think it should be too tricky to exclude this case from that workaround.
Just tidying up - already fixed by #137, so closing :)
To Reproduce
Expected behavior
Actual behavior
Failing test: https://github.com/AaronC81/sord/pull/137