anchor.diff:  }
   ''');
   
  -    expectSuggestion(
  +    assertSuggestion(
           completion: 's',
           element: ElementKind.SETTER,
           kind: CompletionSuggestionKind.INVOCATION);
  +  }
  +
  +  @FailingTest(issue: 'https://github.com/dart-lang/sdk/issues/38739')
  +  Future<void>
  +      test_project_suggestionRelevance_constructorParameterType() async {
  +    await addProjectFile('lib/a.dart', r'''
  +import 'b.dart';
  +
  +class A {
  +  A.b({O o});
  +}
  +''');
  +
  +    await addProjectFile('lib/b.dart', r'''
  +class O { }
  +''');
  +
  +    await addTestFile('''
  +import 'a.dart';
  +
  +void main(List<String> args) {
  +  var a = A.b(o: ^)
  +}
  +''');
  +
  +    expect(
  +        suggestionWith(
  +                completion: 'O',
  +                element: ElementKind.CONSTRUCTOR,
  +                kind: CompletionSuggestionKind.INVOCATION)
  +            .relevance,
  +        greaterThan(suggestionWith(
  +                completion: 'args',
  +                element: ElementKind.PARAMETER,
  +                kind: CompletionSuggestionKind.INVOCATION)
  +            .relevance));
  +  }
  +
  +  @FailingTest(issue: 'https://github.com/dart-lang/sdk/issues/38796')
  +  Future<void> test_project_suggestionRelevance_constructorsAndTypes() async {
  +    await addProjectFile('lib/a.dart', r'''
  +class A { }
  +''');
  +
  +    await addTestFile('''
  +import 'a.dart';
  +
  +void main(List<String> args) {
  +  var a = ^
  +}
  +''');
  +
  +    expect(
  +        suggestionWith(
  +                completion: 'A',
  +                element: ElementKind.CONSTRUCTOR,
  +                kind: CompletionSuggestionKind.INVOCATION)
  +            .relevance,
  +        greaterThan(suggestionWith(
  +                completion: 'A',
  +                element: ElementKind.CLASS,
  +                kind: CompletionSuggestionKind.INVOCATION)
  +            .relevance));
     }
   
     Future<void> test_sdk_lib_future_isNotDuplicated() async {
  
positive.code:     // A kind-filtered set of SDK suggestions.
  
      // Constructors should be visible.
      expectSuggestion(
          completion: 'Timer',
          file: '/sdk/lib/async/async.dart',
          element: ElementKind.CONSTRUCTOR,
          kind: CompletionSuggestionKind.INVOCATION);
  
      // But not methods.
      expectNoSuggestion(
          // dart:async (StreamSubscription)
          completion: 'asFuture',
          element: ElementKind.METHOD,
          kind: CompletionSuggestionKind.INVOCATION);
  
      // +  Functions.
      expectSuggestion(
          completion: 'print',
          file: '/sdk/lib/core/core.dart',
          element: ElementKind.FUNCTION,
          kind: CompletionSuggestionKind.INVOCATION);
      expectSuggestion(
          completion: 'tan',
          file: '/sdk/lib/math/math.dart',
          element: ElementKind.FUNCTION,
          kind: CompletionSuggestionKind.INVOCATION);
  
      // + Classes.
      expectSuggestion(
          completion: 'HashMap',
          file: '/sdk/lib/collection/collection.dart',
          element: ElementKind.CLASS,
          kind: CompletionSuggestionKind.INVOCATION);
  
      // + Top level variables.
      expectSuggestion(
          completion: 'PI',
          file: '/sdk/lib/math/math.dart',
          element: ElementKind.TOP_LEVEL_VARIABLE,
  
negative.code: ''');
  
      // Should only have one suggestion.
      assertSuggestion(
          completion: 'A',
          element: ElementKind.CONSTRUCTOR,
          kind: CompletionSuggestionKind.INVOCATION);
  