mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix missing map addition
This commit is contained in:
parent
a7fd656826
commit
b78b3b9bcb
1 changed files with 1 additions and 1 deletions
|
@ -5085,7 +5085,7 @@ TypeId TypeChecker::resolveType(const ScopePtr& scope, const AstType& annotation
|
||||||
// If the generic parameters and the type arguments are the same, we are about to
|
// If the generic parameters and the type arguments are the same, we are about to
|
||||||
// perform an identity substitution, which we can just short-circuit.
|
// perform an identity substitution, which we can just short-circuit.
|
||||||
if (sameTys && sameTps)
|
if (sameTys && sameTps)
|
||||||
return tf->type;
|
return currentModule->astResolvedTypes[&annotation] = tf->type;
|
||||||
|
|
||||||
return currentModule->astResolvedTypes[&annotation] = instantiateTypeFun(scope, *tf, typeParams, typePackParams, annotation.location);
|
return currentModule->astResolvedTypes[&annotation] = instantiateTypeFun(scope, *tf, typeParams, typePackParams, annotation.location);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue