Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation overflow when color name and function name are the same. #5220

Open
me0106 opened this issue May 12, 2024 · 0 comments
Open

Compilation overflow when color name and function name are the same. #5220

me0106 opened this issue May 12, 2024 · 0 comments
Labels
a:compiler Slint compiler internal (not the codegen, not the parser) bug Something isn't working

Comments

@me0106
Copy link

me0106 commented May 12, 2024

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


@tronical tronical added bug Something isn't working a:compiler Slint compiler internal (not the codegen, not the parser) labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:compiler Slint compiler internal (not the codegen, not the parser) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants