Skip to content

Conversation

@eneajaho
Copy link
Contributor

@eneajaho eneajaho commented Jun 18, 2024

just running new tests

Related #56476

Comment on lines +782 to +787
const nestedSymbol = templateTypeChecker.getSymbolOfNode(nodes[0].inputs[1].value, cmp)!;
assertExpressionSymbol(nestedSymbol);
expect(program.getTypeChecker().symbolToString(nestedSymbol.tsSymbol!)).toEqual(
'helloWorld1',
);
expect(program.getTypeChecker().typeToString(nestedSymbol.tsType)).toEqual('string');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passes now because I added:

else if (ts.isCallExpression(node)) {
   tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.expression);
 }

@eneajaho eneajaho changed the title wip - fix(language-service): added test cases language-service: added test cases which currently don't pass because of #56476 Jul 11, 2024
@eneajaho
Copy link
Contributor Author

Closing as couldn't find a way to fix it 😅

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant