subclass of resource mistyped in signal parameter

Godot Version

v4.7.1.stable.mono.official [a13da4feb]

Question

Hello everyone !

Here a minimal code to generate the case.

using Godot;
//R.cs
[GlobalClass]
public partial class R : Resource
{
}
using Godot;
[GlobalClass]
public partial class N : Node
{
    [Signal]
    public delegate void OnSignalEventHandler(R r);
}

image

r is typed as Resource but not as R.
Is it a correct behaviour or I miss something ?