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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 1070223002: Remove old debug output. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
« no previous file with comments | « pkg/analysis_server/lib/src/protocol_server.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index 0db8d3e931bbc0c0dc8fafb39dd7a0a027c33baa..4b4450021ae4b99376f8caebe227eeabfbd00ff9 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -188,13 +188,6 @@ class DeclarationMatcher extends RecursiveAstVisitor {
_assertEquals(node.constKeyword != null, element.isConst);
_assertEquals(node.factoryKeyword != null, element.isFactory);
_assertCompatibleParameters(node.parameters, element.parameters);
- // TODO(scheglov) debug null Location
- if (element != null) {
- if (element.context == null || element.source == null) {
- logger.log(
- 'Bad constructor element $element for $node in ${node.parent}');
- }
- }
// matches, update the existing element
ExecutableElement newElement = node.element;
node.element = element;
« no previous file with comments | « pkg/analysis_server/lib/src/protocol_server.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698