Commit 46a8f56
Always parenthesize custom headers (#2280)
Fixes #2273
This avoids ambiguous parses for expressions like:
```dhall
https://example.com using ./headers.dhall sha256:…
```
… where the integrity check could be modifying either the original
import or the custom headers.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>1 parent 3aed93f commit 46a8f56
File tree
3 files changed
+13
-1
lines changed- dhall
- src/Dhall
- tests/format
3 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | | - | |
| 1031 | + | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments