@@ -19,37 +19,37 @@ dart_library.library('language/flatten_test_01_multi', null, /* Imports */[
19
19
return super . noSuchMethod ( invocation ) ;
20
20
}
21
21
wait ( T ) {
22
- return ( futures , opts ) => {
23
- return async . Future$ ( core . List$ ( T ) ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'wait' , [ futures ] , { namedArguments : opts , isMethod : true } ) ) ) ;
22
+ return ( ... args ) => {
23
+ return async . Future$ ( core . List$ ( T ) ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'wait' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
24
24
} ;
25
25
}
26
26
any ( T ) {
27
- return futures => {
28
- return async . Future$ ( T ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'any' , [ futures ] , { isMethod : true } ) ) ) ;
27
+ return ( ... args ) => {
28
+ return async . Future$ ( T ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'any' , args , { isMethod : true } ) ) ) ;
29
29
} ;
30
30
}
31
- forEach ( input , f ) {
32
- return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'forEach' , [ input , f ] , { isMethod : true } ) ) ) ;
31
+ forEach ( ... args ) {
32
+ return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'forEach' , args , { isMethod : true } ) ) ) ;
33
33
}
34
- doWhile ( f ) {
35
- return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'doWhile' , [ f ] , { isMethod : true } ) ) ) ;
34
+ doWhile ( ... args ) {
35
+ return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'doWhile' , args , { isMethod : true } ) ) ) ;
36
36
}
37
37
then ( S ) {
38
- return ( onValue , opts ) => {
39
- return async . Future$ ( S ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'then' , [ onValue ] , { namedArguments : opts , isMethod : true } ) ) ) ;
38
+ return ( ... args ) => {
39
+ return async . Future$ ( S ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'then' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
40
40
} ;
41
41
}
42
- catchError ( onError , opts ) {
43
- return FutureOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'catchError' , [ onError ] , { namedArguments : opts , isMethod : true } ) ) ) ;
42
+ catchError ( ... args ) {
43
+ return FutureOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'catchError' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
44
44
}
45
- whenComplete ( action ) {
46
- return FutureOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'whenComplete' , [ action ] , { isMethod : true } ) ) ) ;
45
+ whenComplete ( ... args ) {
46
+ return FutureOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'whenComplete' , args , { isMethod : true } ) ) ) ;
47
47
}
48
- asStream ( ) {
49
- return StreamOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'asStream' , [ ] , { isMethod : true } ) ) ) ;
48
+ asStream ( ... args ) {
49
+ return StreamOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'asStream' , args , { isMethod : true } ) ) ) ;
50
50
}
51
- timeout ( timeLimit , opts ) {
52
- return FutureOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'timeout' , [ timeLimit ] , { namedArguments : opts , isMethod : true } ) ) ) ;
51
+ timeout ( ... args ) {
52
+ return FutureOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'timeout' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
53
53
}
54
54
get _nullFuture ( ) {
55
55
return async . _Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( '_nullFuture' , [ ] , { isGetter : true } ) ) ) ;
@@ -69,37 +69,37 @@ dart_library.library('language/flatten_test_01_multi', null, /* Imports */[
69
69
return super . noSuchMethod ( invocation ) ;
70
70
}
71
71
wait ( T ) {
72
- return ( futures , opts ) => {
73
- return async . Future$ ( core . List$ ( T ) ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'wait' , [ futures ] , { namedArguments : opts , isMethod : true } ) ) ) ;
72
+ return ( ... args ) => {
73
+ return async . Future$ ( core . List$ ( T ) ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'wait' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
74
74
} ;
75
75
}
76
76
any ( T ) {
77
- return futures => {
78
- return async . Future$ ( T ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'any' , [ futures ] , { isMethod : true } ) ) ) ;
77
+ return ( ... args ) => {
78
+ return async . Future$ ( T ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'any' , args , { isMethod : true } ) ) ) ;
79
79
} ;
80
80
}
81
- forEach ( input , f ) {
82
- return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'forEach' , [ input , f ] , { isMethod : true } ) ) ) ;
81
+ forEach ( ... args ) {
82
+ return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'forEach' , args , { isMethod : true } ) ) ) ;
83
83
}
84
- doWhile ( f ) {
85
- return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'doWhile' , [ f ] , { isMethod : true } ) ) ) ;
84
+ doWhile ( ... args ) {
85
+ return async . Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'doWhile' , args , { isMethod : true } ) ) ) ;
86
86
}
87
87
then ( S ) {
88
- return ( onValue , opts ) => {
89
- return async . Future$ ( S ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'then' , [ onValue ] , { namedArguments : opts , isMethod : true } ) ) ) ;
88
+ return ( ... args ) => {
89
+ return async . Future$ ( S ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'then' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
90
90
} ;
91
91
}
92
- catchError ( onError , opts ) {
93
- return FutureOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'catchError' , [ onError ] , { namedArguments : opts , isMethod : true } ) ) ) ;
92
+ catchError ( ... args ) {
93
+ return FutureOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'catchError' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
94
94
}
95
- whenComplete ( action ) {
96
- return FutureOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'whenComplete' , [ action ] , { isMethod : true } ) ) ) ;
95
+ whenComplete ( ... args ) {
96
+ return FutureOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'whenComplete' , args , { isMethod : true } ) ) ) ;
97
97
}
98
- asStream ( ) {
99
- return StreamOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'asStream' , [ ] , { isMethod : true } ) ) ) ;
98
+ asStream ( ... args ) {
99
+ return StreamOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'asStream' , args , { isMethod : true } ) ) ) ;
100
100
}
101
- timeout ( timeLimit , opts ) {
102
- return FutureOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'timeout' , [ timeLimit ] , { namedArguments : opts , isMethod : true } ) ) ) ;
101
+ timeout ( ... args ) {
102
+ return FutureOfFixedPointOfT ( ) . _check ( this . noSuchMethod ( new dart . InvocationImpl ( 'timeout' , args , { namedArguments : dart . extractNamedArgs ( args ) , isMethod : true } ) ) ) ;
103
103
}
104
104
get _nullFuture ( ) {
105
105
return async . _Future . _check ( this . noSuchMethod ( new dart . InvocationImpl ( '_nullFuture' , [ ] , { isGetter : true } ) ) ) ;
0 commit comments