Skip to content

Commit

Permalink
Update FS-1124-interfaces-with-static-abstract-members.md
Browse files Browse the repository at this point in the history
this space won't be needed in future
  • Loading branch information
smoothdeveloper authored Jun 25, 2022
1 parent 0ee0057 commit 5066c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RFCs/FS-1124-interfaces-with-static-abstract-members.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ let f1<'T when 'T :> IAddition<'T>>(x: 'T, y: 'T) =

SRTP: (N.B: this simplified syntax is not part of the language yet)
```fsharp
let inline f2< ^T when ^T : (static member Add: ^T * ^T -> ^T) >(x: ^T, y: ^T) =
let inline f2<^T when ^T : (static member Add: ^T * ^T -> ^T)>(x: ^T, y: ^T) =
^T.Add(x, y)
```

Expand Down

0 comments on commit 5066c16

Please sign in to comment.