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

Side by Side Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 917783002: Fix typo in error message. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 4
5 library engine.resolver; 5 library engine.resolver;
6 6
7 import "dart:math" as math; 7 import "dart:math" as math;
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/src/generated/utilities_collection.dart'; 10 import 'package:analyzer/src/generated/utilities_collection.dart';
(...skipping 7951 matching lines...) Expand 10 before | Expand all | Expand 10 after
7962 // visible in the libraries being resolved, which in turn requires that 7962 // visible in the libraries being resolved, which in turn requires that
7963 // we have resolved the import directives. 7963 // we have resolved the import directives.
7964 // 7964 //
7965 _buildElementModels(); 7965 _buildElementModels();
7966 LibraryElement coreElement = _coreLibrary.libraryElement; 7966 LibraryElement coreElement = _coreLibrary.libraryElement;
7967 if (coreElement == null) { 7967 if (coreElement == null) {
7968 throw new AnalysisException("Could not resolve dart:core"); 7968 throw new AnalysisException("Could not resolve dart:core");
7969 } 7969 }
7970 LibraryElement asyncElement = _asyncLibrary.libraryElement; 7970 LibraryElement asyncElement = _asyncLibrary.libraryElement;
7971 if (asyncElement == null) { 7971 if (asyncElement == null) {
7972 throw new AnalysisException("Coulb not resolve dart:async"); 7972 throw new AnalysisException("Could not resolve dart:async");
7973 } 7973 }
7974 _buildDirectiveModels(); 7974 _buildDirectiveModels();
7975 _typeProvider = new TypeProviderImpl(coreElement, asyncElement); 7975 _typeProvider = new TypeProviderImpl(coreElement, asyncElement);
7976 _buildEnumMembers(); 7976 _buildEnumMembers();
7977 _buildTypeAliases(); 7977 _buildTypeAliases();
7978 _buildTypeHierarchies(); 7978 _buildTypeHierarchies();
7979 _buildImplicitConstructors(); 7979 _buildImplicitConstructors();
7980 // 7980 //
7981 // Perform resolution and type analysis. 7981 // Perform resolution and type analysis.
7982 // 7982 //
(...skipping 7711 matching lines...) Expand 10 before | Expand all | Expand 10 after
15694 * library. 15694 * library.
15695 */ 15695 */
15696 final HashSet<String> members = new HashSet<String>(); 15696 final HashSet<String> members = new HashSet<String>();
15697 15697
15698 /** 15698 /**
15699 * Names of resolved or unresolved class members that are read in the 15699 * Names of resolved or unresolved class members that are read in the
15700 * library. 15700 * library.
15701 */ 15701 */
15702 final HashSet<String> readMembers = new HashSet<String>(); 15702 final HashSet<String> readMembers = new HashSet<String>();
15703 } 15703 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698