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
Copy file name to clipboardExpand all lines: website/docs/compiler/field-guide/04b-failing-walkthrough.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Now re-run:
65
65
- MLIR won’t be produced because the AST isn’t structurally valid.
66
66
67
67
### Conclusion (phase-local)
68
-
✅ **This is a parser/grammar/recovery issue**.
68
+
✅ **Parser/grammar/recovery issue**.
69
69
70
70
### Where fixes usually live
71
71
- parser modules (`src/parser/*`)
@@ -79,7 +79,7 @@ Now re-run:
79
79
80
80
## Failure 2 — Type resolution failure (structure is fine, meaning is wrong)
81
81
82
-
Here we create a program that parses cleanly, but violates a typing rule. This is the most common onboarding confusion: “It parses, why doesn’t it compile?”
82
+
Here we create a program that parses cleanly, but violates a typing rule. Most common onboarding confusion: “It parses, why doesn’t it compile?”
83
83
84
84
### Step 1: Create a file that uses an error union
85
85
@@ -122,7 +122,7 @@ contract SafeMath {
122
122
In Ora, error unions must be **unwrapped** (typically with `try`) before you can use the success value.
123
123
124
124
### Conclusion (phase-local)
125
-
✅ **This is a typing rule issue (type resolver), not a parser issue.**
125
+
✅ **Typing rule issue (type resolver), not a parser issue.**
126
126
127
127
### Where fixes usually live
128
128
- type resolver rules (`src/ast/type_resolver/*`)
@@ -182,7 +182,7 @@ Now, **change the body** to include the specific feature you’re working on (or
182
182
- or it emits an obviously incomplete/empty region for the construct
0 commit comments