Beef
Beef copied to clipboard
[Bug] Nested comptime methods can't call themselves
Reproduction:
[Comptime]
void ComptimeMethod()
{
[Comptime]
void NestedComptimeMethod()
{
NestedComptimeMethod();
}
NestedComptimeMethod();
}
ComptimeMethod();
Error:
ERROR: Comptime method generation had errors
ComptimeMethod();
^^^^^^^^^^^^^^
> Method 'NestedComptimeMethod' does not exist
NestedComptimeMethod();
^^^^^^^^^^^^^^^^^^^^