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

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

Issue 10837194: Fix for inferred type warnings pref page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/type/TypeAnalyzerCompilerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
index 4dba9fb9396814d4a9ec751e7321dc69109d5f41..d6163c32385a4991e95f01587eea74a722f62eaf 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
@@ -1778,12 +1778,12 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
errEx(TypeErrorCode.NOT_A_MEMBER_OF, 9, 5, 1),
errEx(TypeErrorCode.INTERFACE_HAS_NO_METHOD_NAMED, 10, 5, 1));
}
- // use CompilerConfiguration
+ // use CompilerConfiguration to suppress
{
compilerConfiguration = new DefaultCompilerConfiguration(new CompilerOptions() {
@Override
- public boolean suppressNoMemberWarningForInferredTypes() {
- return true;
+ public boolean memberWarningForInferredTypes() {
+ return false;
}
});
AnalyzeLibraryResult result = analyzeLibrary(

Powered by Google App Engine
This is Rietveld 408576698