Skip to content

Commit 75e01b7

Browse files
committed
adjust overrides to new SDK
1 parent 242477e commit 75e01b7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Ionide.Analyzers/Style/PostfixGenericsAnalyzer.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let postfixGenericsAnalyzer: Analyzer<CliContext> =
1515

1616
let collector =
1717
{ new SyntaxCollectorBase() with
18-
override x.WalkType(t: SynType) =
18+
override x.WalkType(_, t: SynType) =
1919
match t with
2020
| SynType.Array _ -> ts.Add("Prefer postfix syntax for arrays.", t.Range)
2121
| SynType.App(typeName = SynType.LongIdent synLongIdent; isPostfix = false) ->

src/Ionide.Analyzers/Suggestion/CopyAndUpdateRecordChangesAllFieldsAnalyzer.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let copyAndUpdateRecordChangesAllFieldsAnalyzer: Analyzer<CliContext> =
2020

2121
let collector =
2222
{ new SyntaxCollectorBase() with
23-
override x.WalkExpr(e: SynExpr) =
23+
override x.WalkExpr(_, e: SynExpr) =
2424
match e with
2525
| SynExpr.Record(copyInfo = Some _; recordFields = fields) -> xs.Add(fields, e.Range)
2626
| _ -> ()

src/Ionide.Analyzers/Suggestion/UnnamedDiscriminatedUnionFieldAnalyzer.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let unnamedDiscriminatedUnionFieldAnalyzer (ctx: CliContext) =
1313

1414
let visitor =
1515
{ new SyntaxCollectorBase() with
16-
override x.WalkUnionCase(unionCase: SynUnionCase) =
16+
override x.WalkUnionCase(_, unionCase: SynUnionCase) =
1717
match unionCase with
1818
| SynUnionCase(caseType = SynUnionCaseKind.Fields [ _ ]) -> ()
1919
| SynUnionCase(caseType = SynUnionCaseKind.Fields fields) ->

0 commit comments

Comments
 (0)