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

Unified Diff: pkg/analyzer/lib/src/kernel/resynthesize.dart

Issue 2988253002: A couple of tweaks. (Closed)
Patch Set: Created 3 years, 5 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/analyzer/lib/src/dart/element/element.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/kernel/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/kernel/resynthesize.dart b/pkg/analyzer/lib/src/kernel/resynthesize.dart
index cda1c2f8f22eee54b0bf72c75f89ba64f44d882f..3b21fbc5252436c7759638407267cfbec98a7dce 100644
--- a/pkg/analyzer/lib/src/kernel/resynthesize.dart
+++ b/pkg/analyzer/lib/src/kernel/resynthesize.dart
@@ -309,7 +309,7 @@ class _ExprBuilder {
return AstTestFactory.typeName3(name)..type = type;
}
// TODO(scheglov) Implement for other types.
- throw new UnimplementedError('type: $type');
+ throw new UnimplementedError('type: (${type.runtimeType}) $type');
}
TypeArgumentList _buildTypeArgumentList(List<kernel.DartType> kernels) {
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698