Fixed bug in parser when unsugaring function-declarations.