-
-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When yard saw a constant like: ```ruby FOO = [%w[bar baz]] ``` it cut off the array at the first closing bracket: ```ruby [%w[bar baz] ``` Fix by ensuring that these types of arrays, which don't have a starting :lbracket, don't pop off :lbracket state in @Map. Drop dead code and add a variety of related regression cases found in my application using sord after trying different fixes.
- Loading branch information
Showing
2 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters