Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: pkg/analyzer/lib/dart/ast/ast.dart

Issue 1808123005: First batch of changes to make analyzer package strong mode error free (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/dart/ast/ast.dart
diff --git a/pkg/analyzer/lib/dart/ast/ast.dart b/pkg/analyzer/lib/dart/ast/ast.dart
index d0680c4b0959192b695f3baaba1b64c9c7b30a84..2600c3fae9c637601f29cbe9efd72849c016c8f7 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -536,7 +536,7 @@ abstract class AstNode {
* (either AST nodes or tokens) that make up the contents of this node,
* including doc comments but excluding other comments.
*/
- Iterable/*<AstNode | Token>*/ get childEntities;
+ Iterable /* AstNode | Token */ get childEntities;
/**
* Return the offset of the character immediately following the last character
@@ -5899,7 +5899,8 @@ abstract class NodeList<E extends AstNode> implements List<E> {
* are added to the list will have their parent set to the given [owner]. The
* list will initially be populated with the given [elements].
*/
- factory NodeList(AstNode owner, [List<E> elements]) = NodeListImpl;
+ factory NodeList(AstNode owner, [List<E> elements]) =>
+ new NodeListImpl<E>(owner as AstNodeImpl, elements);
/**
* Return the first token included in this node list's source range, or `null`
« no previous file with comments | « no previous file | pkg/analyzer/lib/source/analysis_options_provider.dart » ('j') | pkg/analyzer/lib/src/dart/ast/ast.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698