Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Conversation

@alorenzen
Copy link
Contributor

@alorenzen alorenzen changed the title No semicolons Remove semicolons from where they don't belong. Nov 21, 2016
## 1.0.0-alpha+5

- MethodBuilder with no statements will create an empty block instead of a semicolon.
```dart
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a new line before this code block

CHANGELOG.md Outdated
```

- Fix lambdas and closures to not include a trailing semicolon when used as an expression.
```dart
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a new line before this code block

@alorenzen alorenzen merged commit f0d8541 into dart-archive:master Nov 21, 2016
@alorenzen
Copy link
Contributor Author

Fixes dart-lang/tools#960

mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
…ilder#33)

* Remove semicolons from where they don't belong.

* Update changelog

* Cleanup Changelog
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

MethodBuilder.closure() not treated as an expression

3 participants