Brian Berns

Results 14 comments of Brian Berns

Thanks for the quick reply. I'm working on a C#-to-F# translator, so I'm building an F# AST from a C# AST, and then sending that F# AST through Fantomas. There's...

Sure, I'll submit a PR. Thanks for the suggestion to use StrictMode.

Unfortunately, my proposed fix breaks unit test `quotes should be escaped in strict mode`, because it incorrectly attempts to escape the backslash in `\"`. I think someone with better regex...

> `protected` already has a meaning in the context of the CLR so I'd think it quite confusing to use that same word for this different concept. I'm not attached...

> The fact that `let add x y = ... x.Value + y.Value ` compiles is a bug in type inference, since possessing a member `Value` does not imply that...

Thank you for those links. Using active patterns to access the fields is an interesting idea, but still seems like a clunky workaround, rather than a long-term solution. Scott Wlaschin...

> @charlesroddie's suggestion is what I would do if I needed "read but not construct" permissions on a type. Since this is already supported by objects and structs in F#...

Just curious what the status of this issue is. Since it interferes with Intellisense, it makes development with FsXaml much more difficult. (And I don't want to disable F# Power...

Just wondering if there's been any progress on this? Seems like this could be a real problem in a production environment. I just checked and have half a gig of...