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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2767723003: Fix compiler formatter errors. (Closed)
Patch Set: Created 3 years, 9 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/compiler/lib/src/inferrer/node_tracer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index 7a6b935605d5a293a9c130b67bc5e69568fd1012..e943cf8838e085610476fdf99ca29b4db1a15760 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -574,14 +574,16 @@ class JavaScriptBackend {
/// Resolution analysis for tracking reflective access to type variables.
TypeVariableResolutionAnalysis get typeVariableResolutionAnalysis {
- assert(invariant(NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis == null,
+ assert(invariant(
+ NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis == null,
message: "TypeVariableHandler has already been created."));
return _typeVariableResolutionAnalysis;
}
/// Codegen handler for reflective access to type variables.
TypeVariableCodegenAnalysis get typeVariableCodegenAnalysis {
- assert(invariant(NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis != null,
+ assert(invariant(
+ NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis != null,
message: "TypeVariableHandler has not been created yet."));
return _typeVariableCodegenAnalysis;
}
@@ -906,7 +908,8 @@ class JavaScriptBackend {
/// Creates an [Enqueuer] for code generation specific to this backend.
CodegenEnqueuer createCodegenEnqueuer(
CompilerTask task, Compiler compiler, ClosedWorld closedWorld) {
- _typeVariableCodegenAnalysis = new TypeVariableCodegenAnalysis(this, helpers, mirrorsData);
+ _typeVariableCodegenAnalysis =
+ new TypeVariableCodegenAnalysis(this, helpers, mirrorsData);
_lookupMapAnalysis = new LookupMapAnalysis(
reporter,
constantSystem,
« no previous file with comments | « pkg/compiler/lib/src/inferrer/node_tracer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698