slint/internal/compiler
Olivier Goffart 9eb8518278 Add a warning when setting a two way binding for which the rhs does not declare a default value
Because of issue #1394 and because the semantic are not properly defined
currently, we decided that future version of slint should always and only
take the binding from the right hand side, even if it has no bindings.

Since we can't change the behavior in 0.2, just add a warning instead for now.
The warning can be silenced by setting a default binding for the property on the rhs.

Ignoring the warning can still lead to panic (the one in #1394)
2022-07-08 19:05:54 +02:00
..
generator Rename init_*_items to register_component 2022-06-30 11:51:49 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Don't optimize const state property 2022-06-27 16:25:57 +02:00
parser LSP: Fix auto-completion of @-macros 2022-05-19 19:22:56 +02:00
parser-test-macro Bump version number to 0.2.6 2022-07-06 09:58:14 +00:00
passes Add a warning when setting a two way binding for which the rhs does not declare a default value 2022-07-08 19:05:54 +02:00
tests Add a warning when setting a two way binding for which the rhs does not declare a default value 2022-07-08 19:05:54 +02:00
widgets Button: Implement support to make the Button a toggle (#1384) 2022-07-08 16:17:06 +02:00
build.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtin_macros.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtins.slint Button: Implement support to make the Button a toggle (#1384) 2022-07-08 16:17:06 +02:00
Cargo.toml Bump version number to 0.2.6 2022-07-06 09:58:14 +00:00
diagnostics.rs LSP: fetch the file content from cache instead of from disk to compute the line number 2022-06-02 21:45:50 +02:00
embedded_resources.rs swrenderer: Optimize image drawing by using premultiplied colors 2022-06-14 11:23:02 +02:00
expression_tree.rs Implements @radial-gradient(circle, ...) 2022-05-19 14:07:20 +02:00
fileaccess.rs Scan for style files in the include directories 2022-02-15 13:55:50 +01:00
generator.rs Mark constant properties of parent native type as such 2022-02-18 17:40:17 +01:00
langtype.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
layout.rs C++: implement Window::on_close_requested 2022-03-17 14:49:12 +01:00
lexer.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lib.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
literals.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
llr.rs Fix a bunch of documentation warnings 2022-04-26 12:47:34 +02:00
load_builtins.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lookup.rs VSCode web extension: load files from the vscode API 2022-06-02 16:21:07 +02:00
namedreference.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
object_tree.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
parser.rs Fix compiler warning about usage of deprecated method 2022-06-04 10:23:32 +02:00
passes.rs Add a warning when setting a two way binding for which the rhs does not declare a default value 2022-07-08 19:05:54 +02:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
typeloader.rs VSCode web extension: load files from the vscode API 2022-06-02 16:21:07 +02:00
typeregister.rs Button: Implement support to make the Button a toggle (#1384) 2022-07-08 16:17:06 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.