[Bug] System.InvalidOperationException on malformed F# code
LP6 v6.14.10
Easy to repo
F# Program with the below code
type myType(tag: string) =
member Tag = tag //should be _.Tag = tag
Run it
Not a show stopper, just thought I'd mention it so it can be added to the repairs in tray.
Comments
-
Ugh, just rebooted, no the problem no longer appears...oddd.
-
Keeps popping up, but I have not been able to identify what causes it. If I can find a way to repo it I'll post.
-
Managed to fluke a way to yield the error. Although the error I'm getting now is "ArgumentOutOfRangeException", hopefully it is related.
1. Open LP6 -> New F# Program
2. Type "".GetType()
3. Type "1".Upon typing the period character, LP should throw the error.
@JoeAlbahari let me know if this does not error for you.
Errors here reliably even after LP restart. -
Did you report the error? (I can't see anything in the logs).
-
No I didn't. Figured a set of reproduceable steps was better. Just reported it then.