mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
spelling: against
This commit is contained in:
parent
2ff14478f7
commit
e20e8b5b84
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue