Fixed the generation of default argument when a reference is assigned a value.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #318 from ddobrev/master

Fixed the generation of default argument when a reference is assigned a value