diff options
| author | Paul Joannon <hello@pauljoannon.com> | 2024-02-18 14:40:31 +0100 |
|---|---|---|
| committer | Paul Joannon <hello@pauljoannon.com> | 2024-02-20 11:24:41 +0100 |
| commit | 88ad4e6c2456544d457e7eca7ce7205fbbcf085d (patch) | |
| tree | dbace59521605738af43eb25ac4d6aaed720471f /modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs | |
| parent | b7145638d5b235e8e1b2fe039a0cee48a4bbb26d (diff) | |
| download | redot-engine-88ad4e6c2456544d457e7eca7ce7205fbbcf085d.tar.gz | |
Add tests and fix exports diagnostics
- Add tests for the following diagnostics: GD0101, GD0102, GD0103, GD0104, GD0105, GD0106, GD0107.
- Fix GD0101 not being reported any more (was filtering static classes before reporting).
- Fix GD0107 not preventing `Node` members from being exported from not-`Node` types.
Diffstat (limited to 'modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs')
| -rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs index e80837dbe0..af39a54b0b 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotClasses.cs @@ -3,6 +3,7 @@ namespace Godot.SourceGenerators public static class GodotClasses { public const string GodotObject = "Godot.GodotObject"; + public const string Node = "Godot.Node"; public const string AssemblyHasScriptsAttr = "Godot.AssemblyHasScriptsAttribute"; public const string ExportAttr = "Godot.ExportAttribute"; public const string ExportCategoryAttr = "Godot.ExportCategoryAttribute"; |
