Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New class and facility CallSiteBuilder #2849

Merged
merged 6 commits into from
Aug 19, 2024
Merged

Conversation

privat
Copy link
Member

@privat privat commented Aug 15, 2024

First, a helper interface, TypeContext, is extracted from TypeVisitor
Then CallSiteBuilder is created and used.

Copy link

github-actions bot commented Aug 15, 2024

Test Results

    67 files     338 suites   17m 40s ⏱️
14 227 tests 13 684 ✅ 543 💤 0 ❌
14 618 runs  14 060 ✅ 558 💤 0 ❌

Results for commit 1091127.

♻️ This comment has been updated with latest results.

@privat privat marked this pull request as ready for review August 17, 2024 20:31
# Helper class to build a callsite object with a fluent API
class CallSiteBuilder
var location: Location
var recv: MType
Copy link
Contributor

Choose a reason for hiding this comment

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

recv is called recvtype in the ASTBuilder Builder. Might want to have the same name. recvtype is used in many other places for types. recv is often used for an AExpr. Might want to refactor the Callsite builder to have recvtype instead of recv.

@privat privat merged commit 9720451 into nitlang:master Aug 19, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants