Skip to content

Commit bce1189

Browse files
Changes for landing dart-lang/sdk#32161
Add void declarations to methods with implicit dynamic returning void values, which may be illegal in dart 2, but in either case, expresses the current intent better.
1 parent bc4b2d9 commit bce1189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/observable_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import 'package:test/test.dart';
99

1010
import 'observable_test_utils.dart';
1111

12-
main() => observableTests();
12+
void main() => observableTests();
1313

1414
void observableTests() {
1515
// Track the subscriptions so we can clean them up in tearDown.

0 commit comments

Comments
 (0)