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

Make record positional field getters start at $1. #1759

Merged
merged 2 commits into from
Jan 24, 2023
Merged

Make record positional field getters start at $1. #1759

merged 2 commits into from
Jan 24, 2023

Conversation

lrhn
Copy link
Member

@lrhn lrhn commented Jan 13, 2023

This PR is ready in case we change the record positional getter names to starting at $1.
If we do so, this should be landed and then rolled into the CL that changes the SDK: https://dart-review.googlesource.com/c/sdk/+/278912

Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

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

Looks good. Added a suggestion that we cover a couple of extra cases in one test, namely the one that contains a very long record.

LanguageFeatures/Records/members_A03_t04.dart Show resolved Hide resolved
LanguageFeatures/Records/members_A04_t04.dart Outdated Show resolved Hide resolved
@eernstg eernstg self-requested a review January 16, 2023 09:44
Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

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

(OK, github seems to think that I did not review this PR, so let's do it again ;-)

@lrhn lrhn requested a review from athomas January 24, 2023 10:02
@athomas athomas merged commit abb96bb into master Jan 24, 2023
@athomas athomas deleted the dollarup branch January 24, 2023 12:55
@lrhn
Copy link
Member Author

lrhn commented Jan 24, 2023

PTAL

@lrhn
Copy link
Member Author

lrhn commented Jan 24, 2023

And I should reload before adding more comments. Ignore me :)

copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Jan 30, 2023
An update for co19 is available at dart-lang/co19#1759

TEST=Existing tests run after change, two new tests for edge cases.

Change-Id: I408e398d532ba2c2e8e60777bb4f7bd0057e27fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278912
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Jan 30, 2023
2023-01-24 lrn@google.com Make record positional field getters start at `$1`. (dart-lang/co19#1759)
2023-01-23 asashour@yahoo.com Remove superfluous words. (dart-lang/co19#1790)
2023-01-23 asashour@yahoo.com Remove redundant words. (dart-lang/co19#1788)

Change-Id: I2ec57a2ecfd922aa5d044dbb710727f40867557a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279516
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
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

3 participants