slint/internal/compiler/tests/syntax
Olivier Goffart 9329091c2c
Math.sign: Change behavior to return 1 when 0
This is consistent to the Rust/C++ behavior
Even if this depart from the JS behavior

Also replace the function with a Macro

As discussed in https://github.com/slint-ui/slint/issues/9651#issuecomment-3376318439
2025-10-08 09:12:13 +02:00
..
accessibility syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
analysis compiler: Produce a binding loop error when using rem on default-font-size itself 2025-08-21 21:31:27 +02:00
basic compiler: Improve diagnostics when using layout properties 2025-09-24 14:17:11 +02:00
callbacks syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
elements MenuBar: allow it to be in a if 2025-08-18 11:17:57 +02:00
exports syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
expressions Math.sign: Change behavior to return 1 when 0 2025-10-08 09:12:13 +02:00
focus syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
functions Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
fuzzing syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
imports Slintpad: allow to load libraries with ?lib=foo=https://... (#9441) 2025-09-18 21:38:00 +02:00
layout compiler: Dialog padding has effect and shouldn't be a warning 2025-07-03 10:25:16 +02:00
lookup Add an Easing namespace (#9179) 2025-08-21 09:06:48 +02:00
new_syntax syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
parse_error syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00