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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart

Issue 13466011: Remove dart:io import from ssa/tracer.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update co19 status Created 7 years, 8 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: dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart b/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
index 57e2c457a6b5e0c02e18e997798dd1f37a5af4d8..395f970950757c552d77e0d0ae35d88f1c005f08 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
@@ -165,7 +165,7 @@ class JSString extends Interceptor implements String, JSIndexable {
return stringLastIndexOfUnchecked(this, other, start);
}
- bool contains(String other, [int startIndex = 0]) {
+ bool contains(Pattern other, [int startIndex = 0]) {
checkNull(other);
return stringContainsUnchecked(this, other, startIndex);
}

Powered by Google App Engine
This is Rietveld 408576698