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

Strange incorrect method return type inferrance #1366

Open
KieranP opened this issue Nov 29, 2024 · 0 comments
Open

Strange incorrect method return type inferrance #1366

KieranP opened this issue Nov 29, 2024 · 0 comments

Comments

@KieranP
Copy link

KieranP commented Nov 29, 2024

Not sure if this is a bug with Steep or the VSCode extension.

Working on a project using mruby. Added this method to String class:

class String
  def demodulize
    split('::').last
  end
end

Hovering over last shows correct return type, ::String

Screenshot 2024-11-29 at 7 57 52 PM

Hovering over the method name however shows return type of ::Symbol

Screenshot 2024-11-29 at 8 01 37 PM
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

No branches or pull requests

1 participant