PankuConsole icon indicating copy to clipboard operation
PankuConsole copied to clipboard

Linter errors in embedded scripts

Open aromancev opened this issue 1 year ago • 0 comments

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 avatar Sep 21 '24 11:09 aromancev