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

Side by Side Diff: packages/analyzer/lib/src/error.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 library error; 4 library error;
5 5
6 import 'dart:collection'; 6 import 'dart:collection';
7 7
8 import 'generated/error.dart'; 8 import 'generated/error.dart';
9 9
10 /// The maximum line length when printing extracted source code when converting 10 /// The maximum line length when printing extracted source code when converting
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 AnalyzerErrorGroup.fromAnalysisErrors(Iterable<AnalysisError> errors) 84 AnalyzerErrorGroup.fromAnalysisErrors(Iterable<AnalysisError> errors)
85 : this(errors.map((e) => new AnalyzerError(e))); 85 : this(errors.map((e) => new AnalyzerError(e)));
86 86
87 /// The errors in this collection. 87 /// The errors in this collection.
88 List<AnalyzerError> get errors => 88 List<AnalyzerError> get errors =>
89 new UnmodifiableListView<AnalyzerError>(_errors); 89 new UnmodifiableListView<AnalyzerError>(_errors);
90 90
91 String get message => toString(); 91 String get message => toString();
92 String toString() => errors.join("\n"); 92 String toString() => errors.join("\n");
93 } 93 }
OLDNEW
« no previous file with comments | « packages/analyzer/lib/src/context/context.dart ('k') | packages/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698