Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
-
5598bd165 (dev), 33d26c033 (6.9), babb415c4 (6.8)
Description
This will confuse the IndentingLineWriter because 'from' is recognized as keyword, while being used as the name of properties of the quick controls.
A { b: Slider { from: c } d {} }
Our only solution was to disable the recognition of the 'from' keyword because we used the property but we don't use the 'from' syntax for imports.
qqmljskeywords_p.h
//this interferes with properties named 'from' // else if (s[0].unicode() == 'f') { // if (s[1].unicode() == 'r') { // if (s[2].unicode() == 'o') { // if (s[3].unicode() == 'm') { // return int(Lexer::T_FROM); // } // } // } // }