Index: pkg/analyzer/test/src/summary/resynthesize_common.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
index 92d9b20eef58b339bf2b3111c038952227c10d2e..72f79f6c146210b77679693208905030e01b3e0f 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -4653,12 +4653,21 @@ const vNegate = -1; |
const vComplement = ~1; |
'''); |
if (isStrongMode) { |
- checkElementText(library, r''' |
+ if (isSharedFrontEnd) { |
+ checkElementText(library, r''' |
+const bool vNotEqual = !1 == 2; |
Paul Berry
2017/07/19 17:43:31
There's a precedence error here. It should be:
c
scheglov
2017/07/19 19:35:15
Done.
|
+const bool vNot = !true; |
+const int vNegate = -1; |
+const int vComplement = ~1; |
+'''); |
+ } else { |
+ checkElementText(library, r''' |
const bool vNotEqual = 1 != 2; |
const bool vNot = !true; |
const int vNegate = -1; |
const int vComplement = ~1; |
'''); |
+ } |
} else { |
checkElementText(library, r''' |
const dynamic vNotEqual = 1 != 2; |