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

Second stop at 0% in gradient crashes compiler in web app #3826

Open
1 task done
schuelermine opened this issue Mar 29, 2024 · 2 comments
Open
1 task done

Second stop at 0% in gradient crashes compiler in web app #3826

schuelermine opened this issue Mar 29, 2024 · 2 comments
Labels
bug Something isn't working crash The Typst compiler crashes for some input visualize Related to drawing and visualizations.

Comments

@schuelermine
Copy link

Description

This typst code consistently crashes the compiler in the web app.

#rect(fill: gradient.linear((white, 0%), (white, 0%), (white, 100%)))

Reproduction URL

No response

Operating system

Web app

Typst version

  • I am using the latest version of Typst
@schuelermine schuelermine added the bug Something isn't working label Mar 29, 2024
@schuelermine
Copy link
Author

It does not crash on my machine, but when I use the ?r command in the Discord it crashes with

panicked at 'components must always be in the range [0..=1]'

@frozolotl
Copy link
Contributor

I can reproduce it. I will try to resolve this issue.

frozolotl added a commit to frozolotl/typst that referenced this issue Mar 29, 2024
frozolotl added a commit to frozolotl/typst that referenced this issue Mar 29, 2024
@laurmaedje laurmaedje added visualize Related to drawing and visualizations. crash The Typst compiler crashes for some input labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash The Typst compiler crashes for some input visualize Related to drawing and visualizations.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants