-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Endless loop in Semantic Analysis [x/y] #4572
Copy link
Copy link
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When compiling the following code, the compiler will run into an endless loop trying to analyze whatever it is to analyze:
This code will run into an endless loop of semantic analysis when using variant
@0:It will run when using variant
@1(using direct recursion) or variant@2(calling a function that will call the formatter)Zig version:
0.5.0+330e30aec