Skip to content

Commit d3da137

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Deprecate Element.children
Change-Id: I525184a8d855a111985d141c458738a2fddb2a2a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418925 Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent 920af11 commit d3da137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyzer/lib/dart/element/element.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ abstract class Element implements AnalysisTarget {
416416
/// A list of this element's children.
417417
///
418418
/// There is no guarantee of the order in which the children will be included.
419-
@Deprecated('Use Element2 instead')
419+
@Deprecated(elementModelDeprecationMsg)
420420
List<Element> get children;
421421

422422
/// The analysis context in which this element is defined.

0 commit comments

Comments
 (0)