Skip to content

New class and facility CallSiteBuilder#2849

Merged
privat merged 6 commits intonitlang:masterfrom
privat:callsitebuilder
Aug 19, 2024
Merged

New class and facility CallSiteBuilder#2849
privat merged 6 commits intonitlang:masterfrom
privat:callsitebuilder

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.

@github-actions
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 added 6 commits August 17, 2024 12:44
Signed-off-by: Jean Privat <jean@pryen.org>
…TypeVisitor)

Signed-off-by: Jean Privat <jean@pryen.org>
Signed-off-by: Jean Privat <jean@pryen.org>
Signed-off-by: Jean Privat <jean@pryen.org>
Signed-off-by: Jean Privat <jean@pryen.org>
Signed-off-by: Jean Privat <jean@pryen.org>
@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
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

Comments