Don't panic if a resource type is a literal.