-
Notifications
You must be signed in to change notification settings - Fork 57
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
bug: IDE experience incorrectly flags inherit
constructor chaining where no vals
#554
Comments
@bartelink Hi, thank you for reporting it. Could you please check it on 2023.2 release? It should be fixed there. |
Apologies, doh! (I was distracted by an |
Unfortunately I'm still seeing it in 2023.2
it's still asserting '
shuts it up |
@bartelink Thanks for checking! Yes, indeed, it's actually fixed in 2023.3 builds, not in 2023.2. There was an issue in the initial implementation of dotnet/fsharp#15214 in our FCS work, and I've fixed it when proposed the change upstream, and 2033.3 includes this change. 2023.2: 2023.3: I'll see if it's safe to backport it to a bug fix release. |
Please don't; I'll wait |
Just ran into something similar: namespace FSharpSandbox
open System
type MyException =
inherit Exception
new() = { inherit Exception() }
new(msg: string) = { inherit Exception(msg) }
new(msg: string, innerExn: Exception) = { inherit Exception(msg, innerExn) } I'm assuming this is the same root problem and will also be fixed in 2023.3? |
@jwosty Thanks for reporting it! Yes, all looks good in 2023.3: |
Using 2022.3.3 on a Mac, the IDE flags an (admittedly esoteric) bit of syntax, that compiles fine:
(if I add a dummy
val
, it works fine)References:
The text was updated successfully, but these errors were encountered: