From 93918196739ab55d35fefe4b6bd694745a08994e Mon Sep 17 00:00:00 2001 From: Mike Fairhurst Date: Mon, 19 Feb 2018 11:49:08 -0800 Subject: [PATCH] Changes for landing https://github.com/dart-lang/sdk/issues/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. --- bin/debug_info.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/debug_info.dart b/bin/debug_info.dart index ef52bc6..6779a00 100644 --- a/bin/debug_info.dart +++ b/bin/debug_info.dart @@ -101,7 +101,7 @@ class _SizeTracker extends RecursiveInfoVisitor { final StringBuffer _debugCode = new StringBuffer(); int _indent = 2; - _push() => stack.add(new _State()); + void _push() => stack.add(new _State()); void _pop(info) { var last = stack.removeLast();