Commit 740976b
committed
Refactor
Makes the code easier to read because it puts the values which we care
about into the code rather than the comment. As a bonus an UNREACHABLE
invariant will be violated if `expr.id()` value which we haven't
accounted for is encountered.if chain to make cases explicit1 parent 6d07357 commit 740976b
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | | - | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
| 155 | + | |
153 | 156 | | |
154 | 157 | | |
155 | 158 | | |
| |||
0 commit comments