Skip to content

Conversation

@connie-ooi
Copy link
Contributor

@connie-ooi connie-ooi commented Oct 14, 2025

Resolves #6285
Resolves #6689

Files changed:

  • examples/language/lib/classes/shorthand.dart
  • src/content/language/dot-shorthands.md
  • src/content/language/enums.md
  • src/content/language/extension-methods.md
  • src/content/language/index.md
  • src/data/sidenav.yml

Link to page previews:

@connie-ooi connie-ooi marked this pull request as draft October 14, 2025 22:27
Copy link
Member

@kallentu kallentu left a 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.

@antfitch
Copy link
Collaborator

@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.

@connie-ooi connie-ooi self-assigned this Oct 22, 2025
@dart-github-bot
Copy link
Collaborator

dart-github-bot commented Oct 22, 2025

Visit the preview URL for this PR (updated for commit 6cd9bc6):

https://dart-dev--pr6941-dotshorthands-9ckdrfhh.web.app

Copy link
Member

@kallentu kallentu left a 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.

@connie-ooi connie-ooi changed the title add initial draft of dot shorthands feature add dot shorthands feature Oct 27, 2025
@antfitch antfitch changed the title add dot shorthands feature [Dart 3.10] dot shorthands feature Oct 27, 2025
Copy link
Member

@parlough parlough left a 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:

@parlough parlough marked this pull request as ready for review October 28, 2025 16:41
@parlough parlough changed the title [Dart 3.10] dot shorthands feature [Dart 3.10] Document dot shorthands Oct 28, 2025
Copy link
Collaborator

@antfitch antfitch left a 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]>
connie-ooi and others added 24 commits November 4, 2025 09:33
Copy link
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Thanks for making those adjustments and adding the additional example @connie-ooi!

Still looks good to me. Feel free to merge when ready 🚀

@connie-ooi connie-ooi merged commit 7803454 into dart-lang:main Nov 4, 2025
11 checks passed
@connie-ooi connie-ooi deleted the dotshorthands branch November 4, 2025 21:25
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.

Dart 3.10 Dot Shorthands [Dot Shorthands] Add Dot Shorthands to the language docs

5 participants