Not sure the error message is meaningful here; won't it always be `Type <any> missing.`?