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

Merged comptime reflection info into normal reflection data types

This commit is contained in:
Brian Fiete 2022-02-12 08:05:47 -05:00
parent b0c6dd7e43
commit e7f0b21cf6
20 changed files with 432 additions and 453 deletions

View file

@ -43,7 +43,7 @@ namespace Tests
public static String gLog = new .() ~ delete _;
[Comptime]
public void ApplyToMethod(ComptimeMethodInfo method)
public void ApplyToMethod(MethodInfo method)
{
String emit = scope $"LogAttribute.gLog.AppendF($\"Called {method}";
for (var fieldIdx < method.ParamCount)

View file

@ -362,7 +362,7 @@ namespace Tests
public static String gLog = new .() ~ delete _;
[Comptime]
public void ApplyToMethod(ComptimeMethodInfo method)
public void ApplyToMethod(MethodInfo method)
{
Compiler.EmitMethodEntry(method, "int b = 2;");
}