anchor.diff:    @override
     @potentialAnalyzerProblem
     test_importDeferredLibraryWithLoadFunction() async {
  +    // Appears to be an issue with resolution of import prefixes.
       await super.test_importDeferredLibraryWithLoadFunction();
     }
   
  -  @failingTest
     @override
  -  @potentialAnalyzerProblem
     test_unnecessaryCast_generics() async {
  -    // Expected 0 errors of type HintCode.UNNECESSARY_CAST, found 1 (90)
  -    await super.test_unnecessaryCast_generics();
  +    // dartbug.com/18953
  +    // Overridden because type inference now produces more information and there
  +    // should now be a hint, where there wasn't one before.
  +    Source source = addSource(r'''
  +import 'dart:async';
  +Future<int> f() => new Future.value(0);
  +void g(bool c) {
  +  (c ? f(): new Future.value(0) as Future<int>).then((int value) {});
  +}''');
  +    await computeAnalysisResult(source);
  +    assertErrors(source, [HintCode.UNNECESSARY_CAST]);
  +    verify([source]);
     }
   
     @failingTest
  
positive.code:   @override
    @potentialAnalyzerProblem
    test_unusedImport_prefix_topLevelFunction2() async {
      await super.test_unusedImport_prefix_topLevelFunction2();
    }
  }
  
negative.code:   @potentialAnalyzerProblem
    test_duplicateImport_as() async {
      // Expected 0 errors of type HintCode.UNUSED_IMPORT, found 1 (38)
      // Appears to be an issue with resolution of import prefixes.
      await super.test_duplicateImport_as();
    }
  
  