You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix a few more paren corner cases
* Match-like exprs in `if` exprs, `while` exprs, and `for` exprs. Also
`let` exprs.
* Nested, dangling `as` patterns.
* Outlaw `match` exprs (where the first `|` is leftward of the `m` in
`match)
* Single-line comments (`//`, `///`). Multiline comments (`(*…*)`)
would be… rather more difficult to handle.
* Double-parenthesized tuples in method applications, since we can't
tell purely syntactically whether the tuple might be the first
parameter of a method whose next parameter is an implied outref
parameter:
`x.TryGetValue ((y, z))`
i.e.,
`x.TryGetValue ((y, z), &value)`
* Multiline tuple patterns in `let`-bindings. These need parens if the
bound expression starts on the same column.
* Handle typed pats in getters & setters
* Double parens oddities
* Sometimes we can't tell just by looking at the untyped AST whether we
need parens, since their necessity may be dictated by type information
located elsewhere. Compare, e.g., #16254,
which probably has a similar underlying cause.
* Keep parens for parenzed app preceded by prefix op
* Keep parens around tuple in interp string
* More nested match fun
* No space when expr would reparse as prefix op
* No space when expr would reparse as prefix op
* No space when expr would reparse as prefix op
* Update release notes
* Remove unfinished multiline comment stuff
* Keep parens around dot-get that would be adjacent
* E.g., removing parens in place from
```fsharp
Debug.Assert((xT.DeclaringType :?> ProvidedTypeDefinition).BelongsToTargetModel)
```
would result in the the argument to `Assert` becoming
`(xT.DeclaringType :?> ProvidedTypeDefinition)`. The
`.BelongsToTargetModel` would then be parsed as a get on the return
value of _that_ call.
* Fantomas
Copy file name to clipboardExpand all lines: docs/release-notes/.FSharp.Compiler.Service/8.0.300.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
* Code generated files with > 64K methods and generated symbols crash when loaded. Use infered sequence points for debugging. ([Issue #16399](https://github.com/dotnet/fsharp/issues/16399), [#PR 16514](https://github.com/dotnet/fsharp/pull/16514))
7
7
*`nameof Module` expressions and patterns are processed to link files in `--test:GraphBasedChecking`. ([PR #16550](https://github.com/dotnet/fsharp/pull/16550), [PR #16743](https://github.com/dotnet/fsharp/pull/16743))
8
8
* Graph Based Checking doesn't throw on invalid parsed input so it can be used for IDE scenarios ([PR #16575](https://github.com/dotnet/fsharp/pull/16575), [PR #16588](https://github.com/dotnet/fsharp/pull/16588), [PR #16643](https://github.com/dotnet/fsharp/pull/16643))
9
-
* Various parenthesization API fixes. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578), [PR #16666](https://github.com/dotnet/fsharp/pull/16666))
9
+
* Various parenthesization API fixes. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578), [PR #16666](https://github.com/dotnet/fsharp/pull/16666), [PR #16901](https://github.com/dotnet/fsharp/pull/16901))
10
10
* Keep parens for problematic exprs (`if`, `match`, etc.) in `$"{(…):N0}"`, `$"{(…),-3}"`, etc. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578))
11
11
* Fix crash in DOTNET_SYSTEM_GLOBALIZATION_INVARIANT mode [#PR 16471](https://github.com/dotnet/fsharp/pull/16471))
12
12
* Fix16572 - Fixed the preview feature enabling Is properties for union case did not work correctly with let .rec and .fsi files ([PR #16657](https://github.com/dotnet/fsharp/pull/16657))
0 commit comments