mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
fe280ef9ae
- Report a diagnostic when there are multiple classes that match the script file name in the same script since that will result in a duplicate path key in the bimap and it's not allowed. - Fix InspectorPlugin to handle empty paths in case the project was built with a previous version of Godot that used empty paths for generic scripts. - Add tests for the new diagnostic GD0003.
10 lines
161 B
C#
10 lines
161 B
C#
#pragma warning disable CS0169
|
|
|
|
namespace Godot.SourceGenerators.Sample
|
|
{
|
|
partial class Generic1T<T> : GodotObject
|
|
{
|
|
private int _field;
|
|
}
|
|
}
|