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

Use fewer empty lists; non-growable #463

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Use fewer empty lists; non-growable #463

merged 1 commit into from
Oct 7, 2022

Conversation

srawlins
Copy link
Member

Mainly this replaces a few foo ?? [] cases with something that does not unnecessarily create a new list. Maybe simpler readability too.

@srawlins srawlins requested a review from kevmoo October 7, 2022 22:40
Copy link
Member

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

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

:shipit:

@srawlins srawlins merged commit d72ae07 into master Oct 7, 2022
@srawlins srawlins deleted the smaller-lists branch October 7, 2022 23:21
srawlins added a commit to flutter/packages that referenced this pull request Nov 1, 2022
The children list of an Element became unmodifiable in dart-lang/markdown#463, so this just changes flutter_markdown to not modify the children, in a test.

Fixes https://github.com/dart-lang/markdown/issues/480
srawlins added a commit to flutter/packages that referenced this pull request Nov 2, 2022
…ction (#2758)

Do not modify children of a markdown Element after construction

The children list of an Element became unmodifiable in dart-lang/markdown#463, so this just changes flutter_markdown to not modify the children, in a test.

Fixes https://github.com/dart-lang/markdown/issues/480
percula pushed a commit to percula/packages that referenced this pull request Nov 17, 2022
…ction (flutter#2758)

Do not modify children of a markdown Element after construction

The children list of an Element became unmodifiable in dart-lang/markdown#463, so this just changes flutter_markdown to not modify the children, in a test.

Fixes https://github.com/dart-lang/markdown/issues/480
mosuem pushed a commit to dart-lang/tools that referenced this pull request Dec 9, 2024
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.

2 participants