From e20e8b5b84fb09801dc64a3e5715800707cdefed Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 4 Nov 2021 00:35:16 -0400 Subject: [PATCH] spelling: against --- Analysis/src/Unifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Analysis/src/Unifier.cpp b/Analysis/src/Unifier.cpp index 07aee38e..96795999 100644 --- a/Analysis/src/Unifier.cpp +++ b/Analysis/src/Unifier.cpp @@ -1025,7 +1025,7 @@ void Unifier::tryUnifySealedTables(TypeId left, TypeId right, bool isIntersectio // If the superTy/left is an immediate part of an intersection type, do not do extra-property check. // Otherwise, we would falsely generate an extra-property-error for 's' in this code: // local a: {n: number} & {s: string} = {n=1, s=""} - // When checking agaist the table '{n: number}'. + // When checking against the table '{n: number}'. if (!isIntersection && lt->state != TableState::Unsealed && !lt->indexer) { // Check for extra properties in the subTy