You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a string-symbol (:'foo') is used as a default value for a method parameter, then that default is incorrectly converted to a plain identifier (foo). This was mentioned on an issue on my project which uses YARD's registry.
If a string-symbol (
:'foo'
) is used as a default value for a method parameter, then that default is incorrectly converted to a plain identifier (foo
). This was mentioned on an issue on my project which uses YARD's registry.Steps to reproduce
Save the following into a file called
main.rb
.Then:
yardoc main.rb
Actual Output
Expected Output
The signature should have the default as
:'abomination'
rather thanabomination
.Environment details:
ruby -v
):Ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
yard -v
):yard 0.9.19
I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered: