From c9ef7fc5700357b8b7639d91ed2ee4abf6362bd9 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey <403333+asajeffrey@users.noreply.github.com> Date: Fri, 8 Oct 2021 18:10:54 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> --- rfcs/property-readonly.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rfcs/property-readonly.md b/rfcs/property-readonly.md index 4d0c7586..302c5c7f 100644 --- a/rfcs/property-readonly.md +++ b/rfcs/property-readonly.md @@ -93,7 +93,7 @@ t.g = function() ... end For example, if we define: ```lua - type RWFactory { build : () -> A } + type RWFactory = { build : () -> A } ``` then we do *not* have `RWFactory` is a subtype of `RWFactory` @@ -107,7 +107,7 @@ since the build method is read-write, so users can update it: but if we define: ```lua - type ROFactory { get build : () -> A } + type ROFactory = { get build : () -> A } ``` then we do have `ROFactory` is a subtype of `ROFactory`