You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On latest nightly (b4cfc11) code below produces 2 errors:
Circular dependency;
Unable to comptime;
I've attached a small project for convenience, that can be used to reproduce this behaviour.
Attachment: bug.2100.zip
namespacebug2100;usingSystem;classProgram{staticvoidMain(){}}enumFacings{case Right =1;case Left =-1;// Removing this gets rid of the errors, but...staticpublicimplicitoperator Facings (inti)=>(i<0)?.Left:.Right;}
Circular dependency:
ERROR: Circular data reference detected between the following fields:
'bug2100.Facings.Left' at line 13:7 in r:\bug.2100\src\Program.bf
case Left = -1;
^^^^^^^^^
Unable to comptime:
ERROR: Unable to comptime bug2100.Facings.operator bug2100.Facings(int i) at line 12:15 in r:\bug.2100\src\Program.bf
case Right = 1;
^
> Comptime method preparation recursion
The text was updated successfully, but these errors were encountered:
Hi there,
On latest nightly (b4cfc11) code below produces 2 errors:
I've attached a small project for convenience, that can be used to reproduce this behaviour.
Attachment: bug.2100.zip
Circular dependency:
Unable to comptime:
The text was updated successfully, but these errors were encountered: