- 
                Notifications
    
You must be signed in to change notification settings  - Fork 742
 
[Dart 3.10] Document dot shorthands #6941
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks for writing this up.
| child: Text('Hello') | ||
| ) | ||
| ); | ||
| ``` | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also don't know if we do this, but do we ever link to the actual spec in documentation? I feel like if users wanted a full, exhaustive rundown of the feature, it'd be nice to get to the spec to read. @antfitch Do you have any guidance here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I absolutely think we should do this. Spec: https://github.com/dart-lang/language/blob/main/accepted/3.10/dot-shorthands/feature-specification.md
| 
           @connie-ooi and @kallentu, after you've finished your review, let me know and I'll start my review. I'll be focusing on flow. If any technical changes are required, @kallentu, I'll pull you in.  | 
    
| 
           Visit the preview URL for this PR (updated for commit f3889af):  | 
    
02613a8    to
    ef0458b      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, thanks for making all the changes.
Updated title and description for dot shorthand syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the hard work on this @connie-ooi! I love it so far :D
I haven't looked through all of the code yet, but I wanted to leave some initial comments and questions until I have time to do so:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! I have a few structural changes and additions related to rules.
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
Co-authored-by: Amanda Fitch <[email protected]>
Co-authored-by: Amanda Fitch <[email protected]>
Co-authored-by: Amanda Fitch <[email protected]>
Co-authored-by: Amanda Fitch <[email protected]>
Co-authored-by: Amanda Fitch <[email protected]>
Co-authored-by: Amanda Fitch <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! When @parlough has given final signoff, merge this ASAP. Great job!
Resolves #6285
Resolves #6689
Files changed:
Link to page previews: