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:
parent
b9ad5aa61e
commit
2205090e73
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue