diff options
| author | Yorick Peterse <yorick@yorickpeterse.com> | 2021-08-05 16:17:18 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-08-09 08:38:02 +0200 |
| commit | 3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5 (patch) | |
| tree | f162f68759d61219b00a7256abdddf5cb96e83ee /queries/zig | |
| parent | f106baa5223f5c4797df5d0a32b5555cad81dcf3 (diff) | |
Fix instance and singleton method locals for Ruby
Ruby singleton methods (`def x.y ... end`) weren't covered in the list
of locals. In addition, instance methods didn't support names that are
capitalised (`def Integer ... end`).
This commit ensures that both instance and singleton methods are
supported, and that both support identifiers and constants as their
names. This ensures that all following examples are covered:
def foo; end
def FOO; end
def self.bar; end
def self.BAR; end
Diffstat (limited to 'queries/zig')
0 files changed, 0 insertions, 0 deletions
