[go: nahoru, domu]

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

Specify dynamic Object member invocations #3902

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

eernstg
Copy link
Member
@eernstg eernstg commented Jun 13, 2024

This PR modifies the language specification by adding references to section 'Type dynamic' where the static typing of members of Object which is used with receivers of type dynamic at the locations where that static typing is used, that is: 'Ordinary Invocation' and 'Getter access and method extraction'.

Copy link
Member
@stereotype441 stereotype441 left a comment

Choose a reason for hiding this comment

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

This is super helpful, thank you!

@eernstg eernstg merged commit 0a25c3a into main Jun 14, 2024
4 checks passed
@eernstg eernstg deleted the specify_dynamic_Object_calls_jun24 branch June 14, 2024 08:18
@eernstg
Copy link
Member Author
eernstg commented Jun 14, 2024

Thanks!

lrhn pushed a commit that referenced this pull request Jun 28, 2024
This PR modifies the language specification by adding references to section 'Type dynamic' in two locations where this is needed.

The reference is needed because 'Type dynamic' specifies the static type of members of `Object` which is used with receivers of type dynamic.

This reference is needed in section 'Ordinary Invocation' and section 'Getter access and method extraction', where expressions of the form `dynamicExpression.toString()` respectively `dynamicExpression.toString` are specified.
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.

None yet

2 participants