error: type is empty