Skip to content

Commit

Permalink
Add issue references to TODOs and removed outdated ones(#3299)
Browse files Browse the repository at this point in the history
* Update browser_test.dart

* added issue reference to todo

* added issue reference to todo

* added issue reference to todo

* referencing issues to TODO

* fixes #3294

* fixes #3297

* Update stream_interface.dart

* Update browser_test.dart

* Apply suggestions from code review

Co-authored-by: Parker Lougheed <parlough@gmail.com>
  • Loading branch information
vendz and parlough committed Jun 4, 2021
1 parent 0aa9a03 commit c95f9bb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion null_safety_examples/misc/lib/language_tour/functions.dart
Expand Up @@ -26,7 +26,6 @@ void miscDeclAnalyzedButNotTested() {
}

{
// TODO(miquelbeltran) language-tour.md should explain that non-required params can be null
// #docregion specify-named-parameters
/// Sets the [bold] and [hidden] flags ...
void enableFlags({bool? bold, bool? hidden}) {/*...*/}
Expand Down
Expand Up @@ -3,6 +3,7 @@ import 'dart:async';

// TODO(chalin): I believe that handleError's test argument should be declared
// as follows, but it isn't: {bool Function(dynamic error) test}.
// (https://github.com/dart-lang/site-www/issues/3298)

abstract class MyStream<T> implements Stream<T> {
// #docregion main-stream-members
Expand Down
Expand Up @@ -14,6 +14,7 @@ void main() {
void reverseText(MouseEvent e) {}

// TODO(miquelbeltran) Maybe ! would be better here
// (https://github.com/dart-lang/site-www/issues/3295)
// #docregion simple-web-main-function
void main() {
querySelector('#sample_text_id')
Expand Down
Expand Up @@ -23,7 +23,6 @@ void main() {

test('generic-collections', () {
void _test() {
// TODO(miquelbeltran) language-tour.md should be updated, List<String> cannot be used with null-safety
// #docregion generic-collections
var names = <String>[];
names.addAll(['Seth', 'Kathy', 'Lars']);
Expand Down

0 comments on commit c95f9bb

Please sign in to comment.