Skip to content

Commit 1ff6eed

Browse files
committed
clarify use of static abstract methods on abstract classes
1 parent fb616a8 commit 1ff6eed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FSharp-7.0/FS-1124-interfaces-with-static-abstract-members.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type C() =
5555
static member op_Addition(x: C, y: C) = C()
5656
```
5757

58-
Static abstract methods may not be declared in classes.
58+
Static abstract methods may not be declared in classes, abstract classes, or structs.
5959

6060
Static virtual methods can be called directly on interfaces.
6161

@@ -260,7 +260,7 @@ Object expressions may not be used to implement interfaces that contain static a
260260

261261
## Implementation slot signature inference
262262

263-
Implementaton slot signature inference happens as for instance members. For example:
263+
Implementation slot signature inference happens as for instance members. For example:
264264

265265
```fsharp
266266
type IAdditionOperator<'T> =

0 commit comments

Comments
 (0)