@@ -188,19 +188,22 @@ export const getAdvancedOptionsSet = createSelector(
188
188
189
189
export const hasProperties = ( obj : { } ) => Object . values ( obj ) . some ( val => ! ! val ) ;
190
190
191
- const getOutputs = ( state : State ) => [
192
- state . output . assembly ,
193
- state . output . clippy ,
194
- state . output . execute ,
195
- state . output . format ,
196
- state . output . gist ,
197
- state . output . llvmIr ,
198
- state . output . mir ,
199
- state . output . hir ,
200
- state . output . miri ,
201
- state . output . macroExpansion ,
202
- state . output . wasm ,
203
- ] ;
191
+ const getOutputs = createSelector (
192
+ ( state : State ) => state ,
193
+ ( state ) => [
194
+ state . output . assembly ,
195
+ state . output . clippy ,
196
+ state . output . execute ,
197
+ state . output . format ,
198
+ state . output . gist ,
199
+ state . output . llvmIr ,
200
+ state . output . mir ,
201
+ state . output . hir ,
202
+ state . output . miri ,
203
+ state . output . macroExpansion ,
204
+ state . output . wasm ,
205
+ ] ,
206
+ ) ;
204
207
205
208
export const getSomethingToShow = createSelector (
206
209
getOutputs ,
@@ -479,7 +482,7 @@ export const executeRequestPayloadSelector = createSelector(
479
482
channelSelector ,
480
483
( state : State ) => state . configuration ,
481
484
getBacktraceSet ,
482
- ( _state : State , { crateType , tests } : { crateType : string , tests : boolean } ) => ( { crateType , tests } ) ,
485
+ ( _state : State , args : { crateType : string , tests : boolean } ) => args ,
483
486
( code , channel , configuration , backtrace , { crateType, tests } ) => ( {
484
487
channel,
485
488
mode : configuration . mode ,
@@ -498,7 +501,7 @@ export const compileRequestPayloadSelector = createSelector(
498
501
getCrateType ,
499
502
runAsTest ,
500
503
getBacktraceSet ,
501
- ( _state : State , { target } : { target : string } ) => ( { target } ) ,
504
+ ( _state : State , args : { target : string } ) => args ,
502
505
( code , channel , configuration , crateType , tests , backtrace , { target } ) => ( {
503
506
channel,
504
507
mode : configuration . mode ,
0 commit comments