From 19ad21a4d2d58c52a3ecb43bec6f853e2ca480e3 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Wed, 14 Jun 2023 12:03:02 -0500 Subject: [PATCH] Replace `@sealed` meta usage with keyword (#3445) --- lib/src/comment_references/parser.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/src/comment_references/parser.dart b/lib/src/comment_references/parser.dart index 6e7a0c3aa2..69ce653da1 100644 --- a/lib/src/comment_references/parser.dart +++ b/lib/src/comment_references/parser.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'package:meta/meta.dart'; - import '../charcode.dart'; const _operatorKeyword = 'operator'; @@ -481,9 +479,8 @@ class _SuffixParseResult { _SuffixParseResult._(_SuffixResultType.notSuffix, null); } -@sealed // TODO(jcollins-g): add SourceSpans? -abstract class CommentReferenceNode { +sealed class CommentReferenceNode { String get text; }