Commit e02f818f authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Save the utf8 bytes in a QByteArray before invoking the parser.

parent 2a76e5f8
......@@ -91,7 +91,8 @@ Document::Ptr TypeOfExpression::documentForExpression(const QString &expression)
// create the expression's AST.
Document::Ptr doc = Document::create(QLatin1String("<completion>"));
const QByteArray bytes = expression.toUtf8();
return doc;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment