slint
slint copied to clipboard
Compilation overflow when color name and function name are the same.
Slint Version: 1.5.1
Platform: Microsoft Windows [10.0.22631.3527] (Win11)
Rust: rustc 1.77.0 (aedd173a2 2024-03-17)
Cargo: cargo 1.77.0 (3fe68eabf 2024-02-29)
code:
component App inherits Window{
background: blue;
function blue()->color {
blue
}
}
output:
cargo.exe build --color=always --message-format=json-diagnostic-rendered-ansi --package slint-sample --bin slint-sample
Compiling slint-sample v0.1.0 (RustProjects\slint-sample)
error: failed to run custom build command for `slint-sample v0.1.0 (RustProjects\slint-sample)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `slint-sample\target\debug\build\slint-sample-f7e58288c29d797c\build-script-build` (exit code: 0xc00000fd, STATUS_STACK_OVERFLOW)
--- stderr
thread 'main' has overflowed its stack
Process finished with exit code 101