From 031ebc42889cb96c8996b0e0a8d9acb7a3751434 Mon Sep 17 00:00:00 2001 From: Kiiyoko <73446312+Kiiyoko@users.noreply.github.com> Date: Fri, 13 Dec 2024 23:51:10 -0500 Subject: [PATCH] Update generic-constraints.md fixed wording regarding the snippet of code that doesn't work --- docs/generic-constraints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/generic-constraints.md b/docs/generic-constraints.md index 69e243b..c523a80 100644 --- a/docs/generic-constraints.md +++ b/docs/generic-constraints.md @@ -26,7 +26,7 @@ local function callbackProperty( object: T, key: keyof, callback: (propert .... ``` This does not work in Luau. -> Ideally, this behaviour should work out of the box, but, could be solved with bounded polymorphism. +> Ideally, this behaviour should work out of the box, but, could be solved with updates to the type engine. ## Design ### Syntax