Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 916c40e

Browse files
committedMar 3, 2025·
Apply review suggestions, iteration #2.
1 parent 4cab8a7 commit 916c40e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed
 

‎TypeSystem/flow-analysis/reachability_A22_t05.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
/// - Otherwise:
1313
/// - Let `after(N) = after(E2)`.
1414
///
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.
1919
/// @author sgrekhov22@gmail.com
2020
2121
class C {

‎TypeSystem/flow-analysis/reachability_A22_t06.dart

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
/// - Otherwise:
1313
/// - Let `after(N) = after(E2)`.
1414
///
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.
2020
/// @author sgrekhov22@gmail.com
2121
2222
class C {

‎TypeSystem/flow-analysis/reachability_A22_t07.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
///
1515
/// @description Checks that for an expression of the form `E1.m1(E2)`
1616
/// `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.
1818
/// @author sgrekhov22@gmail.com
1919
2020
class C<T extends Never> {

0 commit comments

Comments
 (0)