You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also crashes the compiler when using the web app.
core/src/cmp.rs:857 in Rust 1.69 is the assert!(min <= max) in clamp:
fnclamp(self,min:Self,max:Self) -> SelfwhereSelf:Sized,Self: ~constDestruct,Self: ~constPartialOrd,{assert!(min <= max);ifself < min {
min
}elseifself > max {
max
}else{self}}
Description
I came across this bug when using typst-slides.
Compiling this with Typst v0.4 (with
RUSTC_BACKTRACE=full
which doesn't seem to be very useful here) results inThis also crashes the compiler when using the web app.
core/src/cmp.rs:857
in Rust 1.69 is theassert!(min <= max)
inclamp
:Reproduction URL
https://typst.app/project/pNX38uXtE_Ku20kTTXnAvk
Operating system
macOS
Typst version
The text was updated successfully, but these errors were encountered: