-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No errors for non-virtual members overrides #14263
No errors for non-virtual members overrides #14263
Conversation
Nice, thanks. If this was compiling before, this will need to go under language version flag. |
@vzarytovskii Any idea why the CI is failing with I will add a preview language flag |
Erm, never seen it before, let me look if it's related to changes. |
So, the error thrown in the Proto compiler, so it's likely related to the change: /// Get the Abstract IL scope, nesting and metadata for this
/// type definition, assuming it is backed by Abstract IL metadata.
member x.ILTyconInfo = match x.TypeReprInfo with | TILObjectRepr data -> data | _ -> failwith "not a .NET type definition" |
Thanks, will look into it. |
…ttps://github.com/edgarfgp/fsharp into no-erors-for-non-virtual-new-slot-members-overrides
…ttps://github.com/edgarfgp/fsharp into no-erors-for-non-virtual-new-slot-members-overrides
@vzarytovskii it is green now 😀 |
…ttps://github.com/edgarfgp/fsharp into no-erors-for-non-virtual-new-slot-members-overrides
Fixes #11456
Reuses error
855, tcNoMemberFoundForOverride,"No abstract or interface member was found that corresponds to this override"
for consistency.But a clearer message would be
'C.M2': cannot override inherited member 'B.M2' because it is not marked virtual, abstract, or override."