Don Syme
Don Syme
This appears to be a duplicate of #159 or perhaps of #440 . The original lengthy discussion of #159 on UV is worth taking a look at too. It's an...
Since there is active discussion here, I'll close #159. I'd be grateful if someone could cherry-pick a summary of the original UV discussion into this thread or the suggestion description.
@wastaz How about `.bar` with disambiguation by `(.bar)` where used in a long identifier? And a new warning on space-separated long identifiers `a .b .c`? cheers don
@cloudRoutine The uses of `.Foo` in that example are not in long identifiers. But yes, you're right that it would apply to ``` fsharp let builder = System.Console .WriteLine("abc") ```...
> However, I do wonder if it is easier to implement in the compiler with a "new" operator that is not used anywhere else instead? `(.Bar)` would be really very...
@theprash See also #186
@wastaz @theprash It would be good to come up with a list of examples that can be used to assess the syntax against. Can someone create gist containing the examples...
@theprash I like the suggestion of `_.Foo`. Thanks for bringing it to our attention.
I think this is basically reasonable though it's very tricky to implement the appropriate checks. * Currently all byref checks are done in PostInferenceChecks, that last phase of errors reported...
@abelbraaksma That kind of rewrite is more or less how the current F# compiler optimization phases work. You can definitely make another dedicated lowering phase work, but it becomes very...