bug fix. before, local variable types could be wrongly assigned, leading to the internally the wrong choice of constructors. This became obivous when dealing with array paramarameters in constructor signatures.