From fe57e7fc927d7fa027bd1d2bcbb2ab96fd77fd35 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey <403333+asajeffrey@users.noreply.github.com> Date: Tue, 21 Sep 2021 16:41:47 -0500 Subject: [PATCH] Update rfcs/unsealed-table-assign-indexer.md Co-authored-by: Andy Friesen --- rfcs/unsealed-table-assign-indexer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/unsealed-table-assign-indexer.md b/rfcs/unsealed-table-assign-indexer.md index 632c152f..baa537b3 100644 --- a/rfcs/unsealed-table-assign-indexer.md +++ b/rfcs/unsealed-table-assign-indexer.md @@ -35,7 +35,7 @@ the system to be unsound, for example: ```lua local t = { u = {} } -local u : { p = 37 } = { p = 37, q = "hi" } +local u : { p: number } = { p = 37, q = "hi" } t = { u = u } local x: number? = t.u["p"] local y: number? = t.u["q"] -- This is "hi" at run-time