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

Fixed possible crash when merging the evironments.

parent 46535482
......@@ -107,6 +107,8 @@ void TypeOfExpression::processEnvironment(QMap<QString, Document::Ptr> documents
Document::Ptr doc, Environment *env,
QSet<QString> *processed) const
if (! doc)
if (processed->contains(doc->fileName()))
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