Skip to content

Commit 56cf3fe

Browse files
committed
Fix overridden postcondition wording
1 parent f30c382 commit 56cf3fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/function.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ $(GNAME OutStatement):
388388
}
389389
class C : B
390390
{
391-
override int f() => i; // no `in` contract, `i` can be anything
391+
override int f() => i; // no `in` contract, `i` can have any value
392392
}
393393

394394
B b = new B;
@@ -423,9 +423,9 @@ $(GNAME OutStatement):
423423
---
424424
)
425425

426-
$(P Conversely, all of the postconditions of the function and its
426+
$(P Conversely, all the postconditions of the function and its
427427
overridden functions must be satisfied.
428-
Adding overriding functions then becomes a processes of $(I tightening) the
428+
Overriding functions then becomes a process of $(I tightening) the
429429
postconditions.
430430
)
431431

0 commit comments

Comments
 (0)