From 008ac174f92eef3d032a01b8714a69604d70fa3f Mon Sep 17 00:00:00 2001 From: Phil Quitslund Date: Wed, 9 Nov 2022 17:36:24 -0800 Subject: [PATCH] remove unnecessary brace in string interpolation (#115032) --- packages/flutter/lib/src/material/menu_anchor.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/material/menu_anchor.dart b/packages/flutter/lib/src/material/menu_anchor.dart index 368ad46418..c959e6684a 100644 --- a/packages/flutter/lib/src/material/menu_anchor.dart +++ b/packages/flutter/lib/src/material/menu_anchor.dart @@ -553,9 +553,7 @@ class _MenuAnchorState extends State { } void _closeChildren({bool inDispose = false}) { - // TODO(pquitslund): remove when interpolated `$this` parsing is fixed (https://github.com/dart-lang/sdk/issues/50263) - // ignore: unnecessary_brace_in_string_interps - assert(_debugMenuInfo('Closing children of ${this}${inDispose ? ' (dispose)' : ''}')); + assert(_debugMenuInfo('Closing children of $this${inDispose ? ' (dispose)' : ''}')); for (final _MenuAnchorState child in List<_MenuAnchorState>.from(_anchorChildren)) { child._close(inDispose: inDispose); }