fixed regression in constant emission where a type suffix (e.g. 'f') was illegally added after a closing bracket.added testcase.