Index: pkg/compiler/lib/src/diagnostics/invariant.dart |
diff --git a/pkg/compiler/lib/src/diagnostics/invariant.dart b/pkg/compiler/lib/src/diagnostics/invariant.dart |
index 349d89baf8bb377f62cc1cd162d578ab20400ed0..7ad6f3580a0070cd7febe9c6e03aac04c6817b53 100644 |
--- a/pkg/compiler/lib/src/diagnostics/invariant.dart |
+++ b/pkg/compiler/lib/src/diagnostics/invariant.dart |
@@ -46,7 +46,7 @@ bool invariant(Spannable spannable, var condition, {var message: null}) { |
throw new SpannableAssertionFailure(CURRENT_ELEMENT_SPANNABLE, |
"Spannable was null for invariant. Use CURRENT_ELEMENT_SPANNABLE."); |
} |
- if (condition is Function){ |
+ if (condition is Function) { |
condition = condition(); |
if (condition is String) { |
message = condition; |