Beef
Beef copied to clipboard
[BUG] Wrong data cycle error
Code to reproduce:
[AttributeUsage(.Field, false, false)]
struct DataCycleAttribute : Attribute, this(String parent)
{
}
struct Foo
{
int index;
[DataCycle(nameof(index))]
int offset; // Field 'Foo.offset' causes a data cycle
}
Tested with: Nightly 02/03/2025 (b92b56)