Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby: don't make a scope for "Class.new..." with no block #3733

Merged

Conversation

masatake
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (a454f33) 83.04% compared to head (692a024) 83.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3733   +/-   ##
=======================================
  Coverage   83.04%   83.04%           
=======================================
  Files         227      227           
  Lines       55175    55184    +9     
=======================================
+ Hits        45819    45828    +9     
  Misses       9356     9356           
Impacted Files Coverage Δ
parsers/ruby.c 98.54% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
      D = Class.new()
      def bar()
      	  ...
      end

The original code filled the scope field of "bar" with the anonymous
tag for "Class.new". This was wrong; bar is not a part of D.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…th self.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@masatake masatake force-pushed the ruby--class-new-with-no-block branch from 532a232 to 692a024 Compare July 13, 2023 00:55
@masatake masatake merged commit 983cab5 into universal-ctags:master Jul 13, 2023
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant