Several XHP autocomplete fixes
[hiphop-php.git] / hphp / hack / test / full_fidelity / cases / test_inout_params_errors.exp
blobdf7574ff4d9179b710036e0b55f7be9ef714e3f0
1 (3,20)-(3,37) A variadic parameter ('...') cannot have a modifier that changes the calling convention, like 'inout'.
2 (5,29)-(5,34) An 'inout' parameter must not have a default value.
3 (7,31)-(7,42) A previous parameter has a default value. Remove all the default values for the preceding parameters, or add a default value to this one.
4 (11,12)-(11,37) Functions may not use both reference and inout parameters
5 (11,22)-(11,37) An 'inout' parameter cannot be passed by reference ('&').
6 (13,12)-(13,19) A type annotation is required in strict mode.
7 (15,22)-(15,36) A variadic parameter ('...') cannot have a modifier that changes the calling convention, like 'inout'.
8 (34,5)-(34,13) Cannot use both 'inout' and '&' on the same argument.