Parameter bug remains in AS2 but solved in AS3

The following works in AS3 but produces a compiler complaint in AS2

function test(a:Number, A:Number)
{
    trace(a);
    trace(A);
}

The AS2 compiler misreads ‘a’ and ‘A’ as the same identifier - complaining with:

Parameter A cannot be declared multiple times

Carl