[Interest] [QML] Disallow lowercase import qualifier ids
Konstantin Podsvirov
konstantin at podsvirov.pro
Wed Jan 28 00:55:59 CET 2015
Hi all!
qt/declarative/src/qml/compiler/qqmlcodegenerator.cpp
line ~356
QString qualifier = node->importId.toString();
if (!qualifier.at(0).isUpper()) {
QQmlError error;
error.setDescription(QCoreApplication::translate("QQmlParser","Invalid import qualifier ID"));
error.setLine(node->importIdToken.startLine);
error.setColumn(node->importIdToken.startColumn);
errors << error;
return false;
}
Why not use lowercase letters?
--
Regards,
Konstantin Podsvirov
More information about the Interest
mailing list