Right expected type for procedure syntax functions #SCL-6760 Fixed