From ad1b7afdc29efd6b0827d9c265c2b31c16e72c3b Mon Sep 17 00:00:00 2001 From: "Daniel P H Fox (Roblox)" Date: Wed, 29 Jan 2025 12:32:06 -0800 Subject: [PATCH] Punt on type declarations --- docs/syntax-structure-matching.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/syntax-structure-matching.md b/docs/syntax-structure-matching.md index 4aa89f2..c7d96ae 100644 --- a/docs/syntax-structure-matching.md +++ b/docs/syntax-structure-matching.md @@ -65,6 +65,7 @@ In particular, this proposal punts on implementation at sites of usage: - Destructuring re-assignment (as opposed to destructuring `local` declarations) - Defaults for destructured fields (unclear how this interacts with function default arguments) - Unnamed function parameters (destructuring a parameter doesn't name the parameter) +- Type declarations on keys (for providing types when destructuring a function argument) The purpose of this proposal is to instead find consensus on specific syntax for the matching itself.