Imesha Sudasingha
Imesha Sudasingha
@DamithaSenevirathne can't we use the `ContextTypeResolver` here to derive the expected type of the `new()` expression?
@nadeeshaan yes. Right now @DamithaSenevirathne is working on an expected type API from semantic API side (#36539) since semantic API has access to the expected type information on BLang nodes...
@LakshanWeerasinghe `ExpressionContextTest > test[126](module_ctx_config5.json, expression_context) FAILED` there's a test failure
Closing this since this won't be added to 2201.2.x. Added to master in #38214
@axewilledge Shouldn't this changes go to 2201.2.x, 2201.3.x and master? I see the one for 2201.1.x has been merged.
@keizer619 I have addressed the conflict in #37521. Shall we merge that over this one?
Closing this in favor of https://github.com/ballerina-platform/ballerina-lang/pull/37521
Had a look at this. Here the `SemanticModel` fails to find the symbol for the annotation on top of the resource function. Detailed explanation below: 1. In this case, the...
See the slack thread https://ballerina-platform.slack.com/archives/C9WMA6QDC/p1655971048193769 for more details
@KavinduZoysa we can get that updated from the semantic API side. We can proceed with the compiler FE changes right?