Problem description:
All references to members of the pygame module (pygame.init(), pygame.display, etc.) are not recognized by pyright.
Expected behavior:
Valid pygame members should not be highlighted by pyright as erroneous, and autocomplete should function as normal.
Actual behavior:
References to pygame members are underlined by a red line and with the message ‘{member} is not a known member of the module “pygame”’ appearing on hover, as shown in the screen shot below. Autocomplete also does not work for these members.
Steps to reproduce:
- Create a new replit with the Pygame template.
After a few seconds, even in the default template, all references to pygame members are highlighted by pyright as described.
Bug appears at this link:
https://replit.com/@BZ-10OI-704472/pygame-test?s=app
Browser: Chrome
OS: Windows
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Hacker, Pro Plan): Free
Also occurs on replit app on iPad.