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

Add missing required arguments in call to show_tooltip_popup() #750

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

robsgreen
Copy link

@robsgreen robsgreen commented May 29, 2020

When hovering over the error indicator in the gutter, the following error is displayed in the console:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1082, in run_
    return self.run(edit, **args)
  File "~/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/commands/quick_info.py", line 146, in run
    self.show_tooltip_popup(display_point, error_html, None, None)
TypeError: show_tooltip_popup() missing 2 required positional arguments: 'info_html' and 'doc'

The call to show_tooltip_popup() is missing several required positional arguments, this PR fixes the method call to include what is required.

@orta
Copy link
Contributor

orta commented Jun 8, 2020

Confirmed both the bug, and that this fixes it! Thanks!

@orta orta merged commit 5222c26 into microsoft:master Jun 8, 2020
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.

2 participants