anchor.diff:      let fixableDiagnosticIds = ["FS0366"]
       let checker = checkerProvider.Checker
   
  -    let queryInterfaceState (pos: pos) tokens (ast: Ast.ParsedInput) =
  +    let queryInterfaceState appendBracketAt (pos: pos) tokens (ast: Ast.ParsedInput) =
           async {
               let line = pos.Line - 1
               let column = pos.Column
  
positive.code:                     // Notice that context.Span doesn't return reliable ranges to find tokens at exact positions.
                      // That's why we tokenize the line and try to find the last successive identifier token
                      let tokens = CommonHelpers.tokenizeLine(context.Document.Id, sourceText, context.Span.Start, context.Document.FilePath, defines)
                      let rec tryFindIdentifierToken acc tokens =
                         match tokens with
                         | t :: remainingTokens when t.Tag = FSharpTokenTag.Identifier ->
                             tryFindIdentifierToken (Some t) remainingTokens
                         | t :: remainingTokens when t.Tag = FSharpTokenTag.DOT || Option.isNone acc ->
  
negative.code:                     | Some token ->
                          let fixupPosition = textLine.Start + token.RightColumn
                          let interfacePos = Pos.fromZ textLine.LineNumber token.RightColumn
                          // We rely on the observation that the lastChar of the context should be '}' if that character is present
                          let appendBracketAt =
                              match sourceText.[context.Span.End-1] with
                              | '}' -> None
                              | _ -> 
                                  Some context.Span.End
                          let! interfaceState = queryInterfaceState appendBracketAt interfacePos tokens parsedInput                        
                          let symbol = CommonHelpers.getSymbolAtPosition(context.Document.Id, sourceText, fixupPosition, context.Document.FilePath, defines, SymbolLookupKind.Fuzzy)
                          match interfaceState, symbol with
                          | Some state, Some symbol ->                                
  