handle illegal values in structural constants in calls; fixes #1318