Skip to content

Commit 5f508ea

Browse files
committed
Fixes
1 parent de94830 commit 5f508ea

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/FSharp.Core/prim-types.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4558,6 +4558,8 @@ namespace Microsoft.FSharp.Core
45584558

45594559
let inline (<<) func2 func1 x = func2 (func1 x)
45604560

4561+
let (^) (s1: string) (s2: string) = String.Concat(s1, s2)
4562+
45614563
[<CompiledName("DefaultArg")>]
45624564
let defaultArg arg defaultValue = match arg with None -> defaultValue | Some v -> v
45634565

src/FSharp.Core/prim-types.fsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3271,6 +3271,11 @@ namespace Microsoft.FSharp.Core
32713271
[<CompiledName("DefaultValueArg")>]
32723272
val defaultValueArg: arg: 'T voption -> defaultValue: 'T -> 'T
32733273

3274+
/// <summary>Concatenate two strings. Use the '+' operator instead.</summary>
3275+
[<Obsolete("This construct is deprecated. Use the '+' operator instead.", true)>]
3276+
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
3277+
val (^): s1:string -> s2:string -> string
3278+
32743279
/// <summary>Raises an exception</summary>
32753280
///
32763281
/// <param name="exn">The exception to raise.</param>

tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/CompilerServiceBenchmarks.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ type CompilerServiceBenchmarks() =
8484
LangVersionText = "default"
8585
IsInteractive = false
8686
ApplyLineDirectives = false
87-
IndentationAwareSyntax = None
8887
StrictIndentation = None
8988
CompilingFSharpCore = false
9089
IsExe = false

0 commit comments

Comments
 (0)