I have a stupid question. I got this variable:
var type:int;
and this function:
private function test(type:int):void {
}
when i call the function and throw in my variable type
test(type));
is there a possibility that the compiler gets confused because my variable has the same name like the functions’s parameter (type = type)? i’m not certain about this topic. Normally I’d write my function’s parameter like this (if such a case occurs):
private function test(_type:int):void
just to make sure the names do not exactly match (well I hope you know what I mean).