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

Unified Diff: test/dart_codegen/expect/core/string.dart

Issue 997143003: Fix for conditional expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Add test case Created 5 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 | « test/dart_codegen/expect/convert/utf.dart ('k') | test/dart_codegen/expect/core/uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/string.dart
diff --git a/test/dart_codegen/expect/core/string.dart b/test/dart_codegen/expect/core/string.dart
index 3f3a92cdb0d1677bf2dd9c31b77b4fa292bb5978..41dc6592bea798dee71cffc2deba4a0aa066efbd 100644
--- a/test/dart_codegen/expect/core/string.dart
+++ b/test/dart_codegen/expect/core/string.dart
@@ -73,7 +73,7 @@ if (index > 0 && index < string.length && _isLeadSurrogate(string.codeUnitAt(ind
throw new ArgumentError('Index inside surrogate pair: $index');
}
}
- int get rawIndex => ((__x12) => DEVC$RT.cast(__x12, dynamic, int, "CastGeneral", """line 665, column 24 of dart:core/string.dart: """, __x12 is int, true))((_position != _nextPosition) ? _position : null);
+ int get rawIndex => (_position != _nextPosition) ? _position : null;
void set rawIndex(int rawIndex) {
RangeError.checkValidIndex(rawIndex, string, "rawIndex");
reset(rawIndex);
« no previous file with comments | « test/dart_codegen/expect/convert/utf.dart ('k') | test/dart_codegen/expect/core/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698