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

Unified Diff: pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart

Issue 2704753002: Implement line and column numbers. (Closed)
Patch Set: Change message. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart b/pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart
index 019fb4c0fdd9625b03bb46a5b5397f8a4685770a..6e1e93c31c7f1b3aa4256214d21d238287fffbe5 100644
--- a/pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart
@@ -10,6 +10,9 @@ import 'builder.dart' show
Builder,
TypeBuilder;
+import '../messages.dart' show
+ warning;
+
import 'scope.dart' show
Scope;
@@ -54,7 +57,7 @@ class ConstructorReferenceBuilder extends Builder {
target = builder.constructors[suffix ?? ""];
}
if (target == null) {
- print("Couldn't find constructor $fullNameForErrors.");
+ warning(null, -1, "Couldn't find constructor '$fullNameForErrors'.");
}
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/prefix_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698