Skip to content

Commit 99e5f5a

Browse files
laurentpayotwallymathieu
authored andcommitted
Removed String.startsWith !FABLE_COMPILER condition (#611)
* Removed String.startsWith FABLE_COMPILER condition * Fable updated to 4.23.0
1 parent b6a094a commit 99e5f5a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.config/dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"fable": {
6-
"version": "4.5.0",
6+
"version": "4.23.0",
77
"commands": [
88
"fable"
99
]

src/FSharpPlus/Extensions/String.fs

-3
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ module String =
5252

5353
source.Contains subString
5454

55-
#if !FABLE_COMPILER
56-
5755
/// Does the source string start with the given subString? -- function wrapper for String.StartsWith method using InvariantCulture.
5856
let startsWith (subString: string) (source: string) =
5957
#if !NET45
@@ -62,7 +60,6 @@ module String =
6260
#endif
6361

6462
source.StartsWith (subString, false, CultureInfo.InvariantCulture)
65-
#endif
6663

6764
/// Does the source string end with the given subString? -- function wrapper for String.EndsWith method using InvariantCulture.
6865
let endsWith subString (source: string) =

0 commit comments

Comments
 (0)