Merge pull request #91375 from paulloz/dotnet/prevent-generator-crash-on-exported-unconstructed-generic-arrays
C#: Fix generator crash w/ generic arrays
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
using Godot;
|
||||
|
||||
public abstract partial class AbstractGenericNode<[MustBeVariant] T> : Node
|
||||
{
|
||||
[Export] // This should be included, but without type hints.
|
||||
public Godot.Collections.Array<T> MyArray { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user