Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Draft grammar to permit nullable types as array element types.#1297

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
gafter wants to merge4 commits intodotnet:draft-v8
base:draft-v8
Choose a base branch
Loading
fromgafter:neal_arrays_of_nullable

Conversation

gafter
Copy link
Member

@gaftergafter commentedMar 19, 2025
edited
Loading

Proposed replacement for#1287

@Nigel-Ecma Can you please help me set up the testing for this PR?

@gaftergafter marked this pull request as draftMarch 19, 2025 22:28
@gaftergafter requested a review fromNigel-EcmaMarch 19, 2025 22:58
@gaftergafter added the meeting: discussThis issue should be discussed at the next TC49-TG2 meeting labelMar 19, 2025
@@ -54,7 +54,8 @@ interface_type
;

array_type
: non_array_type rank_specifier+
| non_array_type rank_specifier+
| non_array_type ( nullable_type_annotation rank_specifier+ )+
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this allowint??[]?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

No, because a nullable type isn't anon_array_type.

Copy link
Contributor

Choose a reason for hiding this comment

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

If I'm reading it right,non_array_type includesvalue_type which includesnullable_value_type which I believeint? would be.

@gaftergafter marked this pull request as ready for reviewMarch 20, 2025 20:32
Copy link
Contributor

@Nigel-EcmaNigel-Ecma left a comment

Choose a reason for hiding this comment

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

See TG2 email discussion for details.

@Nigel-EcmaNigel-Ecma marked this pull request as draftApril 14, 2025 05:58
@jskeet
Copy link
Contributor

We want to wait for a meeting where@gafter is present to discuss this as well, but@jnm2 is keen to get his hands dirty with it when he finds time.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jnm2jnm2jnm2 left review comments

@Nigel-EcmaNigel-EcmaNigel-Ecma requested changes

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
meeting: discussThis issue should be discussed at the next TC49-TG2 meeting
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@gafter@jskeet@Nigel-Ecma@jnm2

[8]ページ先頭

©2009-2025 Movatter.jp