Skip to content

Commit 114ef07

Browse files
authored
Reword policheck issue (#15915)
* Reword policheck issue
1 parent b0a13ad commit 114ef07

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/debug-emit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The intended debug points for constructs are determined by syntax as follows. P
8787

8888
* The bodies of functions, methods, lambdas and initialization code for top-level-bindings are all processed as control flow
8989

90-
* Each CAPITAL-EXPR below is processed as control-flow (the bodies of loops, conditionals etc.)
90+
* Each Upper-Cased EXPR below is processed as control-flow (the bodies of loops, conditionals etc.)
9191

9292
* Leaf expressions are the other composite expressions like applications that are not covered by the other constructs.
9393

release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ Contains commits from 32b124966 to d7018737c from dotnet/fsharp. Notable changes
11181118
* lowered allocations for several internal compiler structures
11191119
* better error messages for anonymous record mismatches
11201120
* FSharpChecker learned how to keep background symbol uses
1121-
* Project cracker/project cracker tool were removed
1121+
* The tool for parsing projects was removed
11221122
* Better support for consuming C# in-ref parameters
11231123
* new services around simplifying names and finding unused declarations
11241124
* package management in scripts (in preview)

src/Compiler/Checking/CheckFormatStrings.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ module internal Parse =
187187
if p = None then None, fmtPos else p, pos'
188188
| _ -> None, fmtPos
189189

190-
// Explicitly typed holes in interpolated strings "....%d{x}..." get additional '%P()' as a hole place marker
190+
// Explicitly typed expression gaps in interpolated strings "....%d{x}..." get additional '%P()' as an expression gap place marker
191191
let skipPossibleInterpolationHole isInterpolated isFormattableString (fmt: string) i =
192192
let len = fmt.Length
193193
if isInterpolated then

src/FSharp.Core/printf.fsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type PrintfFormat<'Printer, 'State, 'Residue, 'Result> =
2828
/// <summary>Construct a format string </summary>
2929
/// <param name="value">The input string.</param>
3030
/// <param name="captures">The captured expressions in an interpolated string.</param>
31-
/// <param name="captureTys">The types of expressions for %A holes in interpolated string.</param>
31+
/// <param name="captureTys">The types of expressions for %A expression gaps in interpolated string.</param>
3232
/// <returns>The PrintfFormat containing the formatted result.</returns>
3333
new: value: string * captures: obj[] * captureTys: Type[] -> PrintfFormat<'Printer, 'State, 'Residue, 'Result>
3434

@@ -65,7 +65,7 @@ type PrintfFormat<'Printer, 'State, 'Residue, 'Result, 'Tuple> =
6565
///
6666
/// <param name="value">The input string.</param>
6767
/// <param name="captures">The captured expressions in an interpolated string.</param>
68-
/// <param name="captureTys">The types of expressions for %A holes in interpolated string.</param>
68+
/// <param name="captureTys">The types of expressions for %A expression gaps in interpolated string.</param>
6969
///
7070
/// <returns>The created format string.</returns>
7171
new:

0 commit comments

Comments
 (0)