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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java

Issue 9232041: Remove support for >>> and >>>= operators in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove >>> and >>>= operators Created 8 years, 11 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: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
index 4dc6348002c9da4cd93cbe6b1325edcde530e735..2de3844c10e82e505142b7fb418b6991373cc0df 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -87,8 +87,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
analyzeIn(cls, "i || b", 1);
analyzeIn(cls, "b || b", 0);
- EnumSet<Token> userOperators = EnumSet.of(Token.SHR,
- Token.ADD,
+ EnumSet<Token> userOperators = EnumSet.of(Token.ADD,
Token.SUB,
Token.MUL,
Token.DIV,
@@ -170,8 +169,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
Token.ASSIGN_MUL,
Token.ASSIGN_DIV,
Token.ASSIGN_MOD,
- Token.ASSIGN_TRUNC,
- Token.ASSIGN_SHR);
+ Token.ASSIGN_TRUNC);
for (Token op : compoundAssignmentOperators) {
String expression;
@@ -220,7 +218,6 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
" int operator &(int arg) { return arg; }",
" int operator ^(int arg) { return arg; }",
" int operator >>(int arg) { return arg; }",
- " int operator >>>(int arg) { return arg; }",
" int operator <<(int arg) { return arg; }",
" int operator ~() { return 1; }",
"}");

Powered by Google App Engine
This is Rietveld 408576698