Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.6.1
-
None
-
2ead48fb2674c26aede63382277e9647f93e6586
Description
class Class { int a; public: Class(int b) try : a(b) { } catch (int& error) { } };
Qt Creator underlines the try and the constructor body red, claiming "expected a declaration".
Attachments
For Gerrit Dashboard: QTCREATORBUG-9064 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
52882,3 | CPlusPlus: fixed parsing function-try-catch with ctor-initializer | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |