tests/cases/compiler/collisionRestParameterArrowFunctions.ts(1,11): error TS2397: Duplicate identifier '_i'. Compiler uses '_i' to initialize rest parameter.


==== tests/cases/compiler/collisionRestParameterArrowFunctions.ts (1 errors) ====
    var f1 = (_i: number, ...restParameters) => { //_i is error
              ~~~~~~~~~~
!!! error TS2397: Duplicate identifier '_i'. Compiler uses '_i' to initialize rest parameter.
        var _i = 10; // no error
    }
    var f1NoError = (_i: number) => { // no error
        var _i = 10; // no error
    }
    
    var f2 = (...restParameters) => {
        var _i = 10; // No Error
    }
    var f2NoError = () => {
        var _i = 10; // no error
    }