We found a combination of extensions and overloads which breaks the compiler.
@krauthaufen @aszabo314
clone the repo: https://github.com/haraldsteinlechner/badCop
and build...
prints compile errors
fails internally with:
2>typecheck error FS0192: error : tcrefOfAppTy
2>typecheck error FS0073: error : tcrefOfAppTy (Failure)
2>parameter error FS0192: error : tcrefOfAppTy
2> Unhandled Exception: System.Exception: tcrefOfAppT
not having compile erros. In our setting we have no workaround yet, since we use compilerservice to parse and check projects with errors.
newest fsharp compiler and compiler services
interesting. this only happens in VS. it doesn't in ionide
well, the problem occurs in pretty printing of potential overloads. is it possible to disable those precise error messages? @forki
ok I can repro inside the fsc.exe
the problem occurs:
we now have a dotnet branch of the repro repo: https://github.com/haraldsteinlechner/badCop/tree/netcore
found a possible fix:

lol that comment abot the formatter
/// Format a method info using "half C# style".
nice one!
what is the policy regarding duplicate fixes in compiler service?
What do you mean?
Harald Steinlechner notifications@github.com schrieb am Fr., 4. Mai 2018,
12:46:
what is the policy regarding duplicate fixes in compiler service?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/issues/4825#issuecomment-386565202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNOph_imEWd3dbEtcHjLqvE7pOBBKks5tvDF-gaJpZM4TyTKh
.
the same problem occurs in f# compiler services (that is the second spot we stumbled across this issue)
FCS is part of this repo and the fix applies there as well. After it is
merged @dsyme will push the nuget eventually. In other words: nothing is
needed to do for fcs here
Harald Steinlechner notifications@github.com schrieb am Fr., 4. Mai 2018,
12:51:
the same problem occurs in f# compiler services (that is the second spot
we stumbled across this issue)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/issues/4825#issuecomment-386566164,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNAiyUhptgtdL-8fRRynVg68guMfHks5tvDKYgaJpZM4TyTKh
.
awesome, thanks
Re-opening per @forki
This was marked "ready", was it solved? Can it be closed?
At least on our end the issue didn't occur for a while...
Correct me if I'm wrong @haraldsteinlechner
nope never happened and original repo seems to be "solved" as well.
@haraldsteinlechner, sorry, I don't get it. Do you mean "never happened: the issue disappeared and didn't come back after the fix" or "never happened: a fix was never implemented/working or seen"?
If it is fixed, you can close this issue.
should have been never happened again ;)
Most helpful comment
should have been never happened again ;)