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

Unified Diff: pkg/compiler/lib/src/resolution/constructors.dart

Issue 2301953003: Rerun formatter on dartjs except kernel and shared_messages (Closed)
Patch Set: Created 4 years, 3 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/compiler/lib/src/resolution/constructors.dart
diff --git a/pkg/compiler/lib/src/resolution/constructors.dart b/pkg/compiler/lib/src/resolution/constructors.dart
index 9f32c0bb712b82ad55f68c655f8b9e75e3f5c407..214ebf431bf9937983f99e1304878136c45bb2ab 100644
--- a/pkg/compiler/lib/src/resolution/constructors.dart
+++ b/pkg/compiler/lib/src/resolution/constructors.dart
@@ -521,8 +521,8 @@ class ConstructorResolver extends CommonResolverVisitor<ConstructorResult> {
Node diagnosticNode, String constructorName) {
ClassElement cls = type.element;
cls.ensureResolved(resolution);
- ConstructorElement constructor = findConstructor(
- context.library, cls, constructorName);
+ ConstructorElement constructor =
+ findConstructor(context.library, cls, constructorName);
if (constructor == null) {
MessageKind kind = constructorName.isEmpty
? MessageKind.CANNOT_FIND_UNNAMED_CONSTRUCTOR
« no previous file with comments | « pkg/compiler/lib/src/resolution/class_members.dart ('k') | pkg/compiler/lib/src/serialization/element_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698