fix(semantic): correctly resolve binding for return type of functions#6388
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
CodSpeed Performance ReportMerging #6388 will create unknown performance changesComparing Summary
Benchmarks breakdown
|
|
...or at least I think it's a fix. @Dunqing could you please help me with this one? Questions:
None of these function types have a body, so I assume we're OK to skip the extra call to
|
Right
Skipping
I think as long as there are no test failures, it’s fine, so we don’t need to add tests for it. |
ed93641 to
faa41c7
Compare
Great. I've removed that.
But #6387 was a bug, and this PR fixes it. So there should have been a test failing before, but there wasn't. So I think we should add one. I just don't know where to put it. Can you point me in right direction please? |
Oh, sorry, I didn't notice that. We have two ways to write semantic tests:
Either way is ok. I prefer the first way because I can see what scopes/symbols have in the test code |
|
Let me add tests to it |
Merge activity
|
dd514ba to
f3850eb
Compare
|
Thank you very much for cleaning up the mess I left! |

Fixes #6387.