Index: tests/language/optimized_setter_test.dart |
diff --git a/tests/language/optimized_setter_test.dart b/tests/language/optimized_setter_test.dart |
index 2c818776d5495f7b3489eab0a529fede72decc5e..d6facf199cc981cd18ec9c8c639e4d1257514053 100644 |
--- a/tests/language/optimized_setter_test.dart |
+++ b/tests/language/optimized_setter_test.dart |
@@ -10,9 +10,7 @@ class A { |
int field = 0; |
} |
-class B extends A { |
-} |
- |
+class B extends A {} |
void sameImplicitSetter() { |
oneTarget(var a, var v) { |
@@ -38,7 +36,6 @@ void sameImplicitSetter() { |
Expect.equals(8, b.field); |
} |
- |
// Deoptimize when no feedback exists. |
void setterNoFeedback() { |
maybeSet(var a, var v, bool set_it) { |
@@ -67,7 +64,10 @@ void setterNoFeedback() { |
// Check non-implicit setter |
class X { |
int pField = 0; |
- set field(v) { pField = v; } |
+ set field(v) { |
+ pField = v; |
+ } |
+ |
get field => 10; |
} |
@@ -97,7 +97,6 @@ class Y { |
int field = 0; |
} |
- |
multiImplicitSetter() { |
oneTarget(var a, var v) { |
return a.field = v; |
@@ -118,7 +117,10 @@ multiImplicitSetter() { |
class Z { |
int pField = 0; |
- set field(v) { pField = v; } |
+ set field(v) { |
+ pField = v; |
+ } |
+ |
get field => 10; |
} |