D13313: Fix using reserved type names in identifiers.
Heinz Wiesinger
noreply at phabricator.kde.org
Sun Jun 3 19:50:04 UTC 2018
pprkut added inline comments.
INLINE COMMENTS
> declarationbuilder.cpp:205
> + || className.compare(QLatin1String("false"), Qt::CaseInsensitive) == 0) {
> + reportError(i18n("Cannot use '%1' as class name as it is reserved", className), node->className);
> + }
This is the error message that PHP gives, and yes, it says "class" in all cases, also for interfaces or traits. So not a copy-paste mistake ;)
I tend to prefer keeping this like in PHP, but if other people's preference sways a different way I'm also fine with it.
REPOSITORY
R52 KDevelop: PHP Support
REVISION DETAIL
https://phabricator.kde.org/D13313
To: pprkut
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180603/a4a539ea/attachment.html>
More information about the KDevelop-devel
mailing list