1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed some generic param cases with generic methods in generic variants

This commit is contained in:
Brian Fiete 2021-01-01 15:33:00 -08:00
parent 4f3c28ef2f
commit 06a1ea841f
5 changed files with 74 additions and 21 deletions

View file

@ -17,6 +17,24 @@ namespace IDETest
}
}
class ClassT<T>
{
public void Test<T2>(T t, T2 t2)
{
}
public void Test<T2>(T t, T2 t2) //FAIL
{
}
}
public static void Boing<TA, TB, TC>()
{
ClassT<TC>.Test<TB>(default, default); //FAIL 'IDETest.Methods.ClassT<TC>.Test<TB>(TC t, TB t2)' is a candidate
}
public static void MethodA(ClassA zong, int arg)
{