- CYString *string(dynamic_cast<CYString *>(value->value_));
- _assert(string != NULL);
-
- CYUTF8String completion;
- if (string->size_ != 0)
- completion = {string->value_, string->size_};
- else if (driver.mode_ == CYDriver::AutoMessage)
- completion = "]";
- else
- continue;
+ _assert(value->value_ != NULL);
+ CYString *string(value->value_->String(context));
+ if (string == NULL)
+ CYThrow("string was actually %s", typeid(*value->value_).name());