Fix function application code gen bug for >=10 arguments.
Merge pull request #259 from maxsnew/dev

Fix Function Application Code Generation Bug for >=10 Arguments