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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 2905573002: Use failedAt in more places (misc2) (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | pkg/compiler/lib/src/elements/resolution_types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 906db4ffba55e2696647909026b288581816550e..87478cc740f3514f11a34a6809b90ce6a3e4c449 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -826,7 +826,7 @@ class Elements {
FunctionElement element,
T compileArgument(Node argument),
T compileDefaultValue(ParameterElement element)) {
- assert(invariant(element, element.isImplementation));
+ assert(element.isImplementation, failedAt(element));
List<T> result = <T>[];
FunctionSignature parameters = element.functionSignature;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/resolution_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698