Skip to content

Commit

Permalink
Syntax: Update tests to the latest JavaScript package changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ratijas committed Nov 14, 2023
1 parent 2146233 commit 7eebf9b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Support/tests/syntax_test_QML.qml
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ RegularProperties {
// ^^^^^ support.type
// ^^^^^ meta.binding.name variable.other.member
Qt.point(null, undefined, NaN)
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.binding.property.qml meta.function-call.method.js
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.binding.property.qml
// ^^ support.class.builtin.qml
// ^ punctuation.accessor.js
// ^^^^ support.function.builtin.qml
Expand Down Expand Up @@ -728,12 +728,11 @@ Expressions {
ArrayWho();
// ^^^^^^^^ meta.function-call.js variable.function.js - support.class
Array(42);
// ^^^^^ meta.function-call.js support.class.builtin.js
// ^^^^^ support.class.builtin.js
Date.now();

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (latest, v4129)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (latest, v4129)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (latest, v4129)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4126, v4126)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4126, v4126)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4126, v4126)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4107, v4107)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4107, v4107)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4107, v4107)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (latest, v4129)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (latest, v4129)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (latest, v4129)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4126, v4126)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4126, v4126)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4126, v4126)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4107, v4107)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4107, v4107)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]

Check failure on line 732 in Support/tests/syntax_test_QML.qml

View workflow job for this annotation

GitHub Actions / Syntax Tests (4107, v4107)

[meta.function-call.js support.function.builtin.js] does not match scope [source.qml meta.block.qml meta.function.js meta.block.js meta.function-call.method.js support.function.builtin.js]
// ^^^^^^^^^^ meta.function-call.method.js
// ^^^^ support.class.builtin.js
// ^ punctuation.accessor.js
// ^^^ support.function.builtin.js
// ^^^ meta.function-call.js support.function.builtin.js
const y = k * (x + b);
// ^^^^^ keyword.declaration.js
// ^ meta.binding.name.js variable.other.readwrite.js
Expand Down Expand Up @@ -794,7 +793,6 @@ Expressions {
// ^^^^ support.function.qml
// ^^^^^^^^^^ support.function.qml
Qt.quit();
// ^^^^^^^^^ meta.function-call.method.js
// ^^ support.class.builtin.qml
// ^ punctuation.accessor.js
// ^^^^ support.function.builtin.qml
Expand Down Expand Up @@ -1165,7 +1163,7 @@ AttachedProperties {
// ^^^^^^^^^^^ meta.binding.name support.function markup.italic
// ^^^^^^^^^ markup.underline
// ^ punctuation.separator.mapping.key-value
// ^^^^^ meta.function-call.js support.function
// ^^^^^ support.function

// It wouldn't work (at least didn't for me), but it's perfectly legit
Window.window.onWidthChanged: 42;
Expand Down

0 comments on commit 7eebf9b

Please sign in to comment.