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:
parent
b0c6dd7e43
commit
e7f0b21cf6
20 changed files with 432 additions and 453 deletions
|
@ -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)
|
||||
|
|
|
@ -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;");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue