We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160fd4a commit 249ae69Copy full SHA for 249ae69
2 files changed
src/Fabulous/Array.fs
@@ -49,7 +49,7 @@ module ArraySlice =
49
module Array =
50
let inline appendOne (v: 'v) (arr: 'v array) =
51
let res = Array.zeroCreate(arr.Length + 1)
52
- res[..arr.Length - 1] <- arr
+ res[.. arr.Length - 1] <- arr
53
res[arr.Length] <- v
54
res
55
src/Fabulous/Components/ComponentContext.fs
@@ -48,7 +48,7 @@ type ComponentContext(initialSize: int) =
48
if values.Length < count then
let newLength = max (values.Length * 2) count
let newArray = Array.zeroCreate newLength
- newArray[..values.Length - 1] <- values
+ newArray[.. values.Length - 1] <- values
values <- newArray
member this.TryGetValue<'T>(key: int) =
0 commit comments