### Description  The document says `raw.theme` can be `none` or `str`, but when I compile the following code: ```typst #set raw(theme: none) ``` it emits the error: ```plaintext error: expected string, found none ``` ### Reproduction URL _No response_ ### Operating system _No response_ ### Typst version - [X] I am using the latest version of Typst
Activity
Coekjan commentedon May 18, 2024
It seems because
parse_themealways wants to parse the arg intoEcoString: https://github.com/typst/typst/blob/v0.11.1/crates/typst/src/text/raw.rs#L820Enivex commentedon May 18, 2024
Curiously, the default is none, so how is it working at all?
Coekjan commentedon May 18, 2024
I think it is because the bug is at argument parsing. The
nonebehavior will work if the arg is parsed successfully.