loongly / PureScript

A C# hot reload framework for Unity3D, based on Mono's MONO_AOT_MODE_INTERP mode.
MIT License
270 stars 47 forks source link

在生成UnityBind时对generic delegate parameter进行UnBox没有展开非泛型的参数类型 #15

Open floatyears opened 2 years ago

floatyears commented 2 years ago

例如:

public class TestArgs
{
  public string name;
}

public class TestClassA
{
public delegate System.EventHandler<TestArgs> testDelegate; 
}

testDelegate展开之后类型是 EventHandler(object sender, TestArgs e),此delegate含有两个参数,但是目前会错误的只包含了一个TestArgs类型的参数。