Skip to content

Commit

Permalink
Merge pull request #1093 from fabulous-dev/fix-fs-3204
Browse files Browse the repository at this point in the history
fix error FS3204
  • Loading branch information
edgarfgp authored Dec 15, 2024
2 parents 34c6b1b + 16a1cf6 commit 2296cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fabulous/WidgetDiff.fs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ type ScalarAttributeComparison =

[<Struct; IsByRefLike; RequireQualifiedAccess; NoComparison; NoEquality>]
type EnumerationMode<'a> =
| AllAddedOrRemoved of prev: 'a[] * bool // the first element is either prev or next depending on the bool, but using prev as the label allows the compiler to reuse struct fields between cases
| AllAddedOrRemoved of prevAdd: 'a[] * bool // the first element is either prev or next depending on the bool, but using prev as the label allows the compiler to reuse struct fields between cases
| Empty
| ActualDiff of prev: 'a[] * next: 'a[]
| ActualDiff of prevDiff: 'a[] * next: 'a[]

module EnumerationMode =
let fromOptions prev next =
Expand Down

0 comments on commit 2296cc0

Please sign in to comment.