Unverified Commit 008ac174 authored by Phil Quitslund's avatar Phil Quitslund Committed by GitHub

remove unnecessary brace in string interpolation (#115032)

parent 154ae0f1
......@@ -553,9 +553,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
}
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment