Skip to content

Reserve an error message for "obj was inferred" - #14642

Merged
T-Gro merged 11 commits into
dotnet:mainfrom
Smaug123:obj-inference-error-message
Jan 31, 2023
Merged

Reserve an error message for "obj was inferred"#14642
T-Gro merged 11 commits into
dotnet:mainfrom
Smaug123:obj-inference-error-message

Conversation

@Smaug123

Copy link
Copy Markdown
Contributor

This is boilerplate around fsharp/fslang-suggestions#696 .

The actual implementation is #13298, but that has rotted several times. I'd like to get this boilerplate out of the way so that it stops rotting.

@Smaug123
Smaug123 requested a review from a team as a code ownerJanuary 22, 2023 13:56
Comment threadsrc/Compiler/FSComp.txt Outdated
Comment threadtests/FSharp.Test.Utilities/Compiler.fs
@Smaug123

Copy link
Copy Markdown
ContributorAuthor

Now "A type has been implicitly inferred as obj, which may be unintended" plus the "consider disabling".

@Smaug123

Copy link
Copy Markdown
ContributorAuthor

I would like to get this in at some point in the near future, because this is the part of the change that rots the fastest.

@psfinaki

Copy link
Copy Markdown
Contributor

I am fine with the wording now. @dotnet/fsharp-team-msft ping

@abelbraaksmaabelbraaksma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Small nitpick, see below (I didn't repeat the comment for all translation files, these are generated automatically anyway). Otherwise good.

Comment threadsrc/Compiler/FSComp.txt Outdated
Comment threadsrc/Compiler/xlf/FSComp.txt.cs.xlf

@abelbraaksmaabelbraaksma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking good! I think this can be merged @vzarytovskii, @dsyme, @KevinRansom

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

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants

@Smaug123@psfinaki@abelbraaksma@T-Gro@vzarytovskii