Skip to content

Commit f4a9736

Browse files
authored
Mention #1801 as a breaking change in 1.33.0 (#2551)
1 parent cd60fc2 commit f4a9736

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dhall/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@
361361
* If you really don't want to handle the new error-related wrapper, you can
362362
get the old behavior using a partial pattern match (which will be partial,
363363
still an improvement over the previous behavior, which was hanging)
364+
* BREAKING CHANGE: [Records can no longer contain attributes named after language keywords](https://github.com/dhall-lang/dhall-haskell/pull/1801)
365+
* This is a bugfix, because the language standard disallows using
366+
keywords as record labels. However, some users were relying on
367+
this bug.
368+
* If you need to use a keyword as a record label, enclose it in backticks:
369+
``{ `assert` = 1 }``.
364370
* [Fix invalid cache entries](https://github.com/dhall-lang/dhall-haskell/pull/1793)
365371
* The interpreter will now correct cached expressions that are incorrect
366372
and warn you when this happens

0 commit comments

Comments
 (0)