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

Linter errors in embedded scripts #202

Open
aromancev opened this issue Sep 21, 2024 · 0 comments
Open

Linter errors in embedded scripts #202

aromancev opened this issue Sep 21, 2024 · 0 comments

Comments

@aromancev
Copy link

Describe the bug
Embedded scripts (defined inside a scene) are not excluded by the "Exclude Addons" option in Project Settings -> Debug -> GDScript. If strict typing is enabled in project settings, embedded scripts (e.g. res://addons/panku_console/modules/keyboard_shortcuts/exp_key_mapper_2.tscn::GDScript_xeow3) immediately cause an error on startup.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Project Settings -> Debug -> GDScript and set "Untyped Declaration" as Error.
  2. Run the project.

Expected behavior
Either embedded scripts don't cause any warnings or errors that can potentially be enabled in Project Settings -> Debug -> GDScript or no scripts are embedded so that they are properly excluded by the "Exclude Addons" option in Project Settings -> Debug -> GDScript.

Desktop (please complete the following information):

  • OS: Windows

Additional context
Addon version 1.7.9

@aromancev aromancev changed the title Linter errors in embedded scripts. Linter errors in embedded scripts Sep 21, 2024
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