From e25a11682132e76c436e73ddb4ffb90da044b0d6 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sat, 23 Apr 2022 12:16:36 -0700 Subject: [PATCH] chore: `RELEASES.md` --- RELEASES.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index 5f460e0b77..c93bd351e6 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,6 +1,15 @@ Unreleased --------- +* Fix binder information for `match` patterns that use definitions tagged with `[matchPattern]` (e.g., `Nat.add`). + We now have proper binder information for the variable `y` in the following example. + ```lean + def f (x : Nat) : Nat := + match x with + | 0 => 1 + | y + 1 => y + ``` + * (Fix) the default value for structure fields may now depend on the structure parameters. Example: ```lean structure Something (i: Nat) where