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

Refactored generic type instances to be a BfGenericTypeInfo member

This commit is contained in:
Brian Fiete 2020-06-05 07:01:58 -07:00
parent 5d9a5f183d
commit 9f00539d90
16 changed files with 504 additions and 578 deletions

View file

@ -19,6 +19,9 @@ namespace Tests
public typealias AliasA5 = (int, T);
public typealias AliasA6<T2> = (T, T2);
public typealias AliasA7 = T[];
public typealias AliasA8 = T[3];
public delegate T Zag();
}
@ -31,6 +34,10 @@ namespace Tests
ClassA<T>.AliasA6<float> t0 = (default(T), 1.2f);
ClassA<T>.AliasA4<int16> dlg0 = scope => LocalA;
ClassA<T>.AliasA7 arr0 = scope T[123];
T[3] arr1 = .(default, default, default);
ClassA<T>.AliasA8 arr2 = arr1;
}
[Test]