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

Typst v0.13.0 warning #65

Open
alex289 opened this issue Feb 20, 2025 · 1 comment
Open

Typst v0.13.0 warning #65

alex289 opened this issue Feb 20, 2025 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers urgent This needs to be fixed ASAP

Comments

@alex289
Copy link

alex289 commented Feb 20, 2025

Hi there,
when trying to use this package with the new typst version I get the following warning:

Warning: Comparing strings with types is deprecated
   ┌─ @preview/codly:1.2.0/src/args.typ:89:24
   │ 
   │     if arg.function and function in arg.ty {
   │                         ^^^^^^^^^^^^^^^^^^
   │
   = hint: compare with the literal type instead
   = hint: this comparison will always return `false` in future Typst releases

It seems to still work fine but I thought this should be fixed

@Dherse
Copy link
Owner

Dherse commented Feb 20, 2025

Uh, that's bund to be a very cold comparison lol, will fix soon (likely this w-e or when I am on leave next week).

Thanks for highlighting it!

@Dherse Dherse added bug Something isn't working good first issue Good for newcomers urgent This needs to be fixed ASAP labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers urgent This needs to be fixed ASAP
Projects
None yet
Development

No branches or pull requests

2 participants