Commit 70a09c9
committed
SignalProducer.on: restore
Conceptually, `value` should be defined before `failed` since that goes
in line with the natural order of events, however this reordering can
introduce some confusion/inconvenience while using trailing closures
specially during the migration from ReactiveCocoa 4.x.
There's also an inconsistency between `SignalProducer` and `Signal`
where the former was not updated accordingly.value as the last parameter1 parent a0d94e1 commit 70a09c9
File tree
4 files changed
+8
-8
lines changed- Sources
- Tests/ReactiveSwiftTests
4 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
819 | 818 | | |
820 | 819 | | |
821 | 820 | | |
822 | 821 | | |
823 | 822 | | |
824 | 823 | | |
| 824 | + | |
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1265 | 1265 | | |
1266 | 1266 | | |
1267 | 1267 | | |
1268 | | - | |
1269 | 1268 | | |
1270 | 1269 | | |
1271 | 1270 | | |
1272 | 1271 | | |
1273 | 1272 | | |
1274 | 1273 | | |
| 1274 | + | |
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
1279 | 1279 | | |
1280 | 1280 | | |
1281 | | - | |
1282 | 1281 | | |
1283 | 1282 | | |
1284 | 1283 | | |
1285 | 1284 | | |
1286 | | - | |
| 1285 | + | |
| 1286 | + | |
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
852 | | - | |
853 | | - | |
854 | 852 | | |
855 | 853 | | |
856 | 854 | | |
857 | 855 | | |
| 856 | + | |
| 857 | + | |
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
| |||
0 commit comments