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

Unified Diff: compiler/javatests/com/google/dart/compiler/CompilerTestCase.java

Issue 10913033: Issue 4849. Disabling using inferred types for warnings should also disable invocation argument typ… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace <dynamic> with Dynamic Created 8 years, 4 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/CompilerTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
index 2dacfb07ab924c25d8f143f3dd8f171b0c8252ac..6a49c9dcf64f4b6676040a6a2c5c94c89d911c04 100644
--- a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
@@ -445,9 +445,7 @@ public abstract class CompilerTestCase extends TestCase {
* @return the source-like {@link String} for the given {@link Type}.
*/
protected static String getTypeSource(Type actualType) {
- String source = actualType.toString();
- source = StringUtils.replace(source, "<dynamic>", "Dynamic");
- return source;
+ return actualType.toString();
}
/**

Powered by Google App Engine
This is Rietveld 408576698