This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Hight Error when use `` #165
Labels
bug
Something isn't working
Comments
@yyk123 Can you provide the minimal sample QML file to reproduce the issue? It works with the following script. import QtQuick 2.1
Item {
function fibonacci(n){
var arr = [0, 1];
for (var i = 2; i < n + 1; i++)
arr.push(arr[i - 2] + arr[i -1]);
return arr;
}
TapHandler {
onTapped: console.log(fibonacci(10))
}
Rectangle {
property color previousColor
property color nextColor
onNextColorChanged: console.log("The next color will be: " + nextColor.toString())
}
} |
I figured it out. It caused by this format:
change to
works fine. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
such as:
The text was updated successfully, but these errors were encountered: