Skip to content

Commit

Permalink
Core: rectify function signature return type
Browse files Browse the repository at this point in the history
This commit addresses a mistake in the `runAstNodeRules`
function where the return type was incorrectly specified.
The return type has now been corrected.
  • Loading branch information
Mersho committed Jan 9, 2024
1 parent 66f4229 commit 3c09d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharpLint.Core/Application/Lint.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module Lint =
SyntaxArray: AbstractSyntaxArray.Node array }

/// Runs all rules which take a node of the AST as input.
val runAstNodeRules : RunAstNodeRulesConfig -> Suggestion.LintWarning array * Context
val runAstNodeRules : RunAstNodeRulesConfig -> Suggestion.LintWarning [] * Context

type RunLineRulesConfig = { LineRules: Configuration.LineRules
GlobalConfig: Rules.GlobalRuleConfig
Expand Down

0 comments on commit 3c09d63

Please sign in to comment.