Resolve assert(!list_empty())