| 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(
|
|
|