This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 916c40e committed Mar 3, 2025 · 2 / 2
1 parent 4cab8a7 commit 916c40e Copy full SHA for 916c40e
File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 12
12
/// - Otherwise:
13
13
/// - Let `after(N) = after(E2)` .
14
14
///
15
- /// @description Checks that if the static type of the expression of the form
16
- /// `E1.m1(E2)` static type of `E1` is not `Never` then `after(N) = after(E2)` ,
17
- /// which is tested by detecting that `i = 42` is considered to be guaranteed
18
- /// to have been executed when `i;` is executed.
15
+ /// @description Checks that for an expression of the form `E1.m1(E2)` , if the
16
+ /// static type of `E1` is not `Never` then `after(N) = after(E2)` . This is
17
+ /// tested by detecting that `i = 42` is considered to be guaranteed to have
18
+ /// been executed when `i;` is executed.
19
19
/// @author sgrekhov22@gmail.com
20
20
21
21
class C {
Original file line number Diff line number Diff line change 12
12
/// - Otherwise:
13
13
/// - Let `after(N) = after(E2)` .
14
14
///
15
- /// @description Checks that if the static type of the expression of the form
16
- /// `E1.m1(E2)` static type of `E1` is not `Never` then `after(N) = after(E2)` ,
17
- /// which is tested by detecting that `i = 42` is considered to be guaranteed
18
- /// to have been executed when `i;` is executed. Test the case when `m1` is a
19
- /// getter returning a function type.
15
+ /// @description Checks that for an expression of the form `E1.m1(E2)` , if the
16
+ /// static type of `E1` is not `Never` then `after(N) = after(E2)` . This is
17
+ /// tested by detecting that `i = 42` is considered to be guaranteed to have
18
+ /// been executed when `i;` is executed. Test the case when `m1` is a getter
19
+ /// returning a function type.
20
20
/// @author sgrekhov22@gmail.com
21
21
22
22
class C {
Original file line number Diff line number Diff line change 14
14
///
15
15
/// @description Checks that for an expression of the form `E1.m1(E2)`
16
16
/// `before(E2) = after(E1)` . Test that if `m1` is a getter returning type
17
- /// `Never` then `before(E2)` is also unreachable.
17
+ /// `Never` then `before(E2)` is unreachable.
18
18
/// @author sgrekhov22@gmail.com
19
19
20
20
class C <T extends Never > {
You can’t perform that action at this time.
0 commit comments