Skip to content

Conversation

@kant2002
Copy link
Contributor

@kant2002 kant2002 commented Aug 4, 2023

By default warning is off.

fsharp/fslang-suggestions#1285 (comment)

@kant2002 kant2002 requested a review from a team as a code owner August 4, 2023 05:08
@kant2002 kant2002 force-pushed the kant/typed-string-warn branch from b2c4fcc to 196a187 Compare August 4, 2023 05:12
@kant2002 kant2002 force-pushed the kant/typed-string-warn branch from 196a187 to f57d1e3 Compare August 4, 2023 06:07
@vzarytovskii vzarytovskii merged commit bf927ee into dotnet:main Aug 4, 2023
3577,tcOverrideUsesMultipleArgumentsInsteadOfTuple,"This override takes a tuple instead of multiple arguments. Try to add an additional layer of parentheses at the method definition (e.g. 'member _.Foo((x, y))'), or remove parentheses at the abstract method declaration (e.g. 'abstract member Foo: 'a * 'b -> 'c')."
featureUnmanagedConstraintCsharpInterop,"Interop between C#'s and F#'s unmanaged generic constraint (emit additional modreq)"
3578,chkCopyUpdateSyntaxInAnonRecords,"This expression is an anonymous record, use {{|...|}} instead of {{...}}."
3579,alwaysUseTypedStringInterpolation,"Prefer to use typed interpolated strings over untyped one."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this message. Maybe something like this would be a bit better?

Suggested change
3579,alwaysUseTypedStringInterpolation,"Prefer to use typed interpolated strings over untyped one."
3579,alwaysUseTypedStringInterpolation,"Consider using typed interpolated strings over untyped ones."

or

Suggested change
3579,alwaysUseTypedStringInterpolation,"Prefer to use typed interpolated strings over untyped one."
3579,alwaysUseTypedStringInterpolation,"Consider adding type identifiers to the interpolated string."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants