Skip to content

Commit 9d29f9e

Browse files
webwarrior-wsknocte
authored andcommitted
UnneededRecKeyword: fix build
Fix build by adapting rule code to changes in FCS.
1 parent aeadd7f commit 9d29f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpLint.Core/Rules/Conventions/UnneededRecKeyword.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let runner (args: AstNodeRuleParams) =
1111
match args.AstNode, args.CheckInfo with
1212
| AstNode.ModuleDeclaration (SynModuleDecl.Let (isRecursive, bindings, letRange)), Some checkInfo when isRecursive ->
1313
match bindings with
14-
| SynBinding (_, _, _, _, _, _, _, SynPat.LongIdent (LongIdentWithDots([ident], _), _, _, _, _, range), _, _, _, _) :: _ ->
14+
| SynBinding (_, _, _, _, _, _, _, SynPat.LongIdent (SynLongIdent([ident], _, _), _, _, _, _, range), _, _, _, _, _) :: _ ->
1515
let symbolUses = checkInfo.GetAllUsesOfAllSymbolsInFile()
1616
let funcName = ident.idText
1717

0 commit comments

Comments
 (0)