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

Unified Diff: lib/compiler/implementation/dart_backend/placeholder_collector.dart

Issue 11052011: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: lib/compiler/implementation/dart_backend/placeholder_collector.dart
diff --git a/lib/compiler/implementation/dart_backend/placeholder_collector.dart b/lib/compiler/implementation/dart_backend/placeholder_collector.dart
index 18d0b3963f8c344516f09962384608812021099f..f40e6bd025bfbf32c9b64f049f52d9289f6be9cd 100644
--- a/lib/compiler/implementation/dart_backend/placeholder_collector.dart
+++ b/lib/compiler/implementation/dart_backend/placeholder_collector.dart
@@ -464,7 +464,7 @@ class PlaceholderCollector extends Visitor {
if (hasPrefix &&
(typeElement.getLibrary() === coreLibrary ||
typeElement === dynamicTypeElement)) {
- makeNullPlaceholder(node.typeName.receiver);
+ makeNullPlaceholder(node.typeName.asSend().receiver);
} else {
if (typeElement !== dynamicTypeElement) {
makeTypePlaceholder(target, type);
« no previous file with comments | « lib/compiler/implementation/dart_backend/backend.dart ('k') | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698