Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 008ac17

Browse files
authored
remove unnecessary brace in string interpolation (#115032)
1 parent 154ae0f commit 008ac17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/flutter/lib/src/material/menu_anchor.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
553553
}
554554

555555
void _closeChildren({bool inDispose = false}) {
556-
// TODO(pquitslund): remove when interpolated `$this` parsing is fixed (https://github.com/dart-lang/sdk/issues/50263)
557-
// ignore: unnecessary_brace_in_string_interps
558-
assert(_debugMenuInfo('Closing children of ${this}${inDispose ? ' (dispose)' : ''}'));
556+
assert(_debugMenuInfo('Closing children of $this${inDispose ? ' (dispose)' : ''}'));
559557
for (final _MenuAnchorState child in List<_MenuAnchorState>.from(_anchorChildren)) {
560558
child._close(inDispose: inDispose);
561559
}

0 commit comments

Comments
 (0)