We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hit a bug in the formatter with dart format --enable-experiment=variance file.dart. The formatter produced unexpected output. Input was:
dart format --enable-experiment=variance file.dart
class Consumer<in T> { void consume(T value) { print("Consumed: $value"); } }
Which formatted to:
class Consumer<T> { void consume(T value) { print("Consumed: $value"); } }
(The type parameter variance annotation was removed.)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hit a bug in the formatter with
dart format --enable-experiment=variance file.dart
.The formatter produced unexpected output. Input was:
Which formatted to:
(The type parameter variance annotation was removed.)
The text was updated successfully, but these errors were encountered: