1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Compiler.Assert to Runtime.Assert

This commit is contained in:
Brian Fiete 2022-04-16 07:45:01 -07:00
parent b9ad5aa61e
commit 2205090e73

View file

@ -434,12 +434,12 @@ namespace Tests
{
if (type.IsGenericParam)
{
Compiler.Assert(type.IsGenericParam);
Runtime.Assert(type.IsGenericParam);
String tName = type.GetFullName(.. scope .());
Compiler.Assert(tName == "TTuple");
Runtime.Assert(tName == "TTuple");
return typeof(var);
}
Compiler.Assert(type.IsTuple);
Runtime.Assert(type.IsTuple);
return type.GetField(index).Get().FieldType;
}
}