-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Input
[scip-ruby] couldn't find field 1 in class <redacted>;
18 | string =~ /(.+);\s*$/ ? $1 : string
^^
Undesirable behavior
The error seems incorrect, we shouldn't be checking for $1 as being a field, it's special syntax for the captured value in the capture group in the preceding regex. (https://stackoverflow.com/questions/6673847/what-are-rubys-numbered-global-variables)
Expected behavior
No error.
scip-ruby-debug indexing output
n/a
Configuration
scip-ruby v0.3.3
Additional info
No response