Repository navigation
Commit 1cd8c1e
Restored nestedIfsWithoutCurlysAreReallyMisleading
...and ifAsIntended. Closes matyb#84 (I hope).
Removing the curly braces makes the dangling else actually, um, dangle.
The conditional is once again misleading, as intended.
Also, changed the conditional(s) and variables in ifAsIntended to match
those in nestedIfsWithoutCurlysAreReallyMisleading, so there is no
question that the curly braces caused the as-intended result.1 parent 8023ff1 commit 1cd8c1e
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
55 | 70 | | |
56 | 71 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
60 | 75 | | |
61 | 76 | | |
62 | 77 | | |
63 | | - | |
| 78 | + | |
| 79 | + | |
64 | 80 | | |
65 | 81 | | |
66 | 82 | | |
| |||
0 commit comments