File tree
19 files changed
+61
-58
lines changed- community-build/community-projects
- compiler/src/dotty/tools/dotc
- ast
- core
- transform
- typer
19 files changed
+61
-58
lines changedSubmodule dotty-cps-async updated 32 files
- README.md+1-1
- build.sbt+3-6
- project/build.properties+1-1
- src/main/scala/cps/Async.scala+2-3
- src/main/scala/cps/AsyncShift.scala+4-18
- src/main/scala/cps/CpsMonad.scala+1-3
- src/main/scala/cps/CpsMonadConversion.scala-12
- src/main/scala/cps/FutureAsyncMonad.scala+3-38
- src/main/scala/cps/forest/ApplyTreeTransform.scala+128-47
- src/main/scala/cps/forest/AwaitTransformOtherMonad.scala+38
- src/main/scala/cps/forest/AwaitTreeTransform.scala+2-21
- src/main/scala/cps/forest/KnownTreeFragments.scala+1-6
- src/main/scala/cps/forest/LambdaTreeTransform.scala+1-2
- src/main/scala/cps/forest/MatchTreeTransform.scala+2-2
- src/main/scala/cps/forest/TreeTransformScope.scala-19
- src/main/scala/cps/forest/application/ApplyArgRecordScope.scala+15-214
- src/main/scala/cps/runtime/ArrayOpsAsynsShift.scala+4-19
- src/main/scala/cps/runtime/IterableAsyncShift.scala+44-50
- src/main/scala/cps/runtime/ListAsyncShift.scala-19
- src/main/scala/cps/runtime/OptionAsyncShift.scala-43
- src/main/scala/cps/runtime/PartialFunctionHelper.scala-13
- src/main/scala/cps/runtime/SeqAsyncShift.scala-22
- src/main/scala/cps/runtime/TryAsyncShift.scala+3
- src/test/scala/cps/ComputationBound.scala+1-4
- src/test/scala/cps/T1.scala-2
- src/test/scala/cps/TestCBS1Apply.scala+1-1
- src/test/scala/cps/TestCBS1Match.scala-10
- src/test/scala/cps/TestCBS1Option.scala-31
- src/test/scala/cps/TestCBS1ShiftIterableOps.scala+3-28
- src/test/scala/cps/TestCBS3.scala+14
- src/test/scala/cps/TestCBSFutureIntegration.scala-39
- src/test/scala/cps/TestFutureBasic.scala-45
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
418 |
| - | |
| 418 | + | |
419 | 419 |
| |
420 | 420 |
| |
421 | 421 |
| |
| |||
459 | 459 |
| |
460 | 460 |
| |
461 | 461 |
| |
462 |
| - | |
| 462 | + | |
463 | 463 |
| |
464 | 464 |
| |
465 | 465 |
| |
| |||
963 | 963 |
| |
964 | 964 |
| |
965 | 965 |
| |
966 |
| - | |
| 966 | + | |
967 | 967 |
| |
968 | 968 |
| |
969 | 969 |
| |
| |||
973 | 973 |
| |
974 | 974 |
| |
975 | 975 |
| |
976 |
| - | |
| 976 | + | |
977 | 977 |
| |
978 | 978 |
| |
979 | 979 |
| |
| |||
1157 | 1157 |
| |
1158 | 1158 |
| |
1159 | 1159 |
| |
1160 |
| - | |
| 1160 | + | |
1161 | 1161 |
| |
1162 | 1162 |
| |
1163 | 1163 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 |
| - | |
440 |
| - | |
441 |
| - | |
442 | 439 |
| |
443 | 440 |
| |
444 | 441 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
905 | 905 |
| |
906 | 906 |
| |
907 | 907 |
| |
908 |
| - | |
| 908 | + | |
909 | 909 |
| |
910 | 910 |
| |
911 | 911 |
| |
| |||
1020 | 1020 |
| |
1021 | 1021 |
| |
1022 | 1022 |
| |
1023 |
| - | |
| 1023 | + | |
1024 | 1024 |
| |
1025 | 1025 |
| |
1026 | 1026 |
| |
| |||
1285 | 1285 |
| |
1286 | 1286 |
| |
1287 | 1287 |
| |
1288 |
| - | |
| 1288 | + | |
1289 | 1289 |
| |
1290 | 1290 |
| |
1291 | 1291 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
978 | 978 |
| |
979 | 979 |
| |
980 | 980 |
| |
981 |
| - | |
| 981 | + | |
982 | 982 |
| |
983 | 983 |
| |
984 |
| - | |
| 984 | + | |
985 | 985 |
| |
986 | 986 |
| |
987 | 987 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
864 | 864 |
| |
865 | 865 |
| |
866 | 866 |
| |
867 |
| - | |
| 867 | + | |
868 | 868 |
| |
869 | 869 |
| |
870 | 870 |
| |
| |||
877 | 877 |
| |
878 | 878 |
| |
879 | 879 |
| |
880 |
| - | |
| 880 | + | |
881 | 881 |
| |
882 | 882 |
| |
883 | 883 |
| |
| |||
1643 | 1643 |
| |
1644 | 1644 |
| |
1645 | 1645 |
| |
1646 |
| - | |
| 1646 | + | |
1647 | 1647 |
| |
1648 | 1648 |
| |
1649 | 1649 |
| |
| |||
1731 | 1731 |
| |
1732 | 1732 |
| |
1733 | 1733 |
| |
1734 |
| - | |
| 1734 | + | |
1735 | 1735 |
| |
1736 | 1736 |
| |
1737 | 1737 |
| |
| |||
1827 | 1827 |
| |
1828 | 1828 |
| |
1829 | 1829 |
| |
1830 |
| - | |
| 1830 | + | |
1831 | 1831 |
| |
1832 | 1832 |
| |
1833 | 1833 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
287 | 288 |
| |
288 | 289 |
| |
289 | 290 |
| |
290 |
| - | |
| 291 | + | |
291 | 292 |
| |
292 | 293 |
| |
293 | 294 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 |
| - | |
| 263 | + | |
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
| |||
1861 | 1861 |
| |
1862 | 1862 |
| |
1863 | 1863 |
| |
1864 |
| - | |
| 1864 | + | |
1865 | 1865 |
| |
1866 | 1866 |
| |
1867 | 1867 |
| |
| |||
2020 | 2020 |
| |
2021 | 2021 |
| |
2022 | 2022 |
| |
2023 |
| - | |
| 2023 | + | |
2024 | 2024 |
| |
2025 | 2025 |
| |
2026 | 2026 |
| |
| |||
2048 | 2048 |
| |
2049 | 2049 |
| |
2050 | 2050 |
| |
2051 |
| - | |
| 2051 | + | |
2052 | 2052 |
| |
2053 | 2053 |
| |
2054 | 2054 |
| |
| |||
2063 | 2063 |
| |
2064 | 2064 |
| |
2065 | 2065 |
| |
2066 |
| - | |
| 2066 | + | |
2067 | 2067 |
| |
2068 | 2068 |
| |
2069 | 2069 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
| 135 | + | |
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
| |||
608 | 608 |
| |
609 | 609 |
| |
610 | 610 |
| |
611 |
| - | |
| 611 | + | |
612 | 612 |
| |
613 | 613 |
| |
614 | 614 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
|
Lines changed: 10 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1413 | 1413 |
| |
1414 | 1414 |
| |
1415 | 1415 |
| |
1416 |
| - | |
| 1416 | + | |
1417 | 1417 |
| |
1418 | 1418 |
| |
1419 | 1419 |
| |
| |||
1601 | 1601 |
| |
1602 | 1602 |
| |
1603 | 1603 |
| |
1604 |
| - | |
1605 |
| - | |
| 1604 | + | |
| 1605 | + | |
1606 | 1606 |
| |
1607 | 1607 |
| |
1608 | 1608 |
| |
| |||
1904 | 1904 |
| |
1905 | 1905 |
| |
1906 | 1906 |
| |
1907 |
| - | |
| 1907 | + | |
1908 | 1908 |
| |
1909 | 1909 |
| |
1910 | 1910 |
| |
| |||
1918 | 1918 |
| |
1919 | 1919 |
| |
1920 | 1920 |
| |
1921 |
| - | |
| 1921 | + | |
1922 | 1922 |
| |
1923 | 1923 |
| |
1924 | 1924 |
| |
| |||
1964 | 1964 |
| |
1965 | 1965 |
| |
1966 | 1966 |
| |
| 1967 | + | |
1967 | 1968 |
| |
1968 | 1969 |
| |
1969 | 1970 |
| |
| |||
2036 | 2037 |
| |
2037 | 2038 |
| |
2038 | 2039 |
| |
2039 |
| - | |
| 2040 | + | |
2040 | 2041 |
| |
2041 | 2042 |
| |
2042 | 2043 |
| |
| |||
2559 | 2560 |
| |
2560 | 2561 |
| |
2561 | 2562 |
| |
2562 |
| - | |
| 2563 | + | |
2563 | 2564 |
| |
2564 | 2565 |
| |
2565 | 2566 |
| |
| |||
2727 | 2728 |
| |
2728 | 2729 |
| |
2729 | 2730 |
| |
2730 |
| - | |
| 2731 | + | |
2731 | 2732 |
| |
2732 | 2733 |
| |
2733 | 2734 |
| |
| |||
4378 | 4379 |
| |
4379 | 4380 |
| |
4380 | 4381 |
| |
4381 |
| - | |
| 4382 | + | |
4382 | 4383 |
| |
4383 | 4384 |
| |
4384 | 4385 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
123 |
| - | |
| 123 | + | |
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
321 |
| - | |
| 321 | + | |
322 | 322 |
| |
323 | 323 |
| |
324 | 324 |
| |
| |||
384 | 384 |
| |
385 | 385 |
| |
386 | 386 |
| |
387 |
| - | |
| 387 | + | |
388 | 388 |
| |
389 | 389 |
| |
390 | 390 |
| |
| |||
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
458 |
| - | |
| 458 | + | |
459 | 459 |
| |
460 | 460 |
| |
461 | 461 |
| |
|
0 commit comments