Skip to content

Commit

Permalink
fix: finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
dstallenberg committed Dec 11, 2023
1 parent 917cecc commit c3912fe
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,11 @@ export class InferenceTypeModelFactory extends TypeModelFactory {
// add array type to object
this._typeModel.addElementType(objectId, relation.id);

if (objectElement && objectElement.type === ElementType.Identifier && objectElement.name === 'arguments') {
if (
objectElement &&
objectElement.type === ElementType.Identifier &&
objectElement.name === "arguments"
) {
// e.g. arguments[0]
// TODO get function parent and add the argument (impossible right now)
}
Expand Down

0 comments on commit c3912fe

Please sign in to comment.