Skip to content

Commit

Permalink
rename error from "LiteralConstantValuesDiffer" to "LiteralConstantVa…
Browse files Browse the repository at this point in the history
…luesDifferInSignature"
  • Loading branch information
dawedawe committed Jul 14, 2023
1 parent 06ea173 commit 1f661f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ type FcsErrorsStageProcessBase(fsFile, daemonProcess) =
if error.Message.EndsWith("The mutability attributes differ") then
createHighlightingFromNodeWithMessage ValueNotContainedMutabilityAttributesDifferError range error
elif error.Message.EndsWith("The literal constant values and/or attributes differ") then
createHighlightingFromNodeWithMessage LiteralConstantValuesDifferError range error
createHighlightingFromNodeWithMessage LiteralConstantValuesDifferInSignatureError range error
else
createGenericHighlighting error range

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ open JetBrains.ReSharper.Psi.ExtensionsAPI
open JetBrains.ReSharper.Psi.Tree
open JetBrains.ReSharper.Resources.Shell

type UpdateLiteralConstantInSignatureFix(error: LiteralConstantValuesDifferError) =
type UpdateLiteralConstantInSignatureFix(error: LiteralConstantValuesDifferInSignatureError) =
inherit FSharpQuickFixBase()
let errorRefPat = error.Pat.As<IReferencePat>()
let implNeedsLiteralAttr =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
<QuickFix>UpdateMutabilityInSignatureFix</QuickFix>
</Error>

<Error staticGroup="FSharpErrors" name="LiteralConstantValuesDiffer" ID="FS0034: Module contains but its signature specifies The literal constant values and/or attributes differ">
<Error staticGroup="FSharpErrors" name="LiteralConstantValuesDifferInSignature" ID="FS0034: Module contains but its signature specifies The literal constant values and/or attributes differ">
<Parameter type="ITopReferencePat" name="pat"/>
<Parameter type="string" name="fcsMessage"/>
<Range>pat.GetNavigationRange()</Range>
Expand Down

0 comments on commit 1f661f6

Please sign in to comment.