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.
This commit is contained in:
parent
b7145638d5
commit
88ad4e6c24
19 changed files with 242 additions and 9 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue