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
{{ message }}
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
I figured out that this is caused due to lack of null-checking for the passed-in variables. Adding checks like this in the function resolves the issue:
#if content != none {
...
}
However I think the current message is not intuitive, maybe it can be replaced with something like 'content' may be of type none?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue
When a YAML file is imported and passed to a method, the receiving method treats the passed data as type none.
main.typ
:data.yaml
:VSCode will report this error despite compilation preview being successful:
The text was updated successfully, but these errors were encountered: