1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed nested generic type alias type reference

This commit is contained in:
Brian Fiete 2022-07-16 14:28:18 -04:00
parent 4ea28022bf
commit 1db184e7d8
2 changed files with 62 additions and 31 deletions

View file

@ -25,6 +25,15 @@ namespace Tests
public delegate T Zag();
}
class ClassB<T>
{
typealias AliasB0<T2> = (T a, T2 b, int c);
public static void MethodB0(List<AliasB0<float>> val)
{
}
}
public static void Test<T>()
{
T LocalA(int16 a)
@ -60,6 +69,8 @@ namespace Tests
var t2 = (1.2f, 3.4);
ClassA<float>.AliasA6<double> v3 = t2;
ClassB<double>.MethodB0(scope List<(double a, float b, int c)>());
}
}
}