aboutsummaryrefslogtreecommitdiff
path: root/CHANGES.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-06 14:55:00 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-06 14:55:00 -0500
commit48491f94c96615e8055bcf72ed9009b1d921467f (patch)
treeb30b934d71ca14a7f9602282c35d2f2c137d902a /CHANGES.md
parenta13b39f1e1ea220a868d99508796d06492a40611 (diff)
Use `foo!` as sugar for `foo.FirstTag!` for enum values. Also, give
better error messages for this kind of `!` assertion.
Diffstat (limited to 'CHANGES.md')
-rw-r--r--CHANGES.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 7081a1bf..8468e4a7 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -3,6 +3,9 @@
## v2025-12-06
- You can now discard Empty values.
+- For an enum `Foo(A,B,C)`, the syntax `f!` now desugars to `f.A!` using the
+ first tag defined in the enum.
+- Error messages are more helpful for `foo.Whatever!` enum field accessing.
## v2025-11-30