Open-Jellycore
Open-Jellycore copied to clipboard
empty dictionary `dictionary(json: {})` generated syntax error
Describe the bug
import Shortcuts
dictionary(json: {})
generates a syntax error
SYNTAX ERROR, line: 3, "ERROR (identifier content: (identifier_content)) (identifier content: (identifier_content)) (string_chars)" Check your syntax in the surrounding area.
To Reproduce
Steps to reproduce the behavior:
- create a file ed.jelly with the above code
- on the commnd line run the command
jelly ed0.jelly --export --out ./ed0.shortcut
- see the above error
Expected behavior
expect the code to compile and generate an empy dictionary. The above code compiles in AppStore version of Jellycuts
Information
-
Device: [MacBook Pro 14-inch, 2021]
-
OS: [Sonoma 14.5]
-
Jellycuts Version [???] (Can be found in Settings -> About)
-
Jailbroken? [No]
-
Device: [iPhone SE]
-
OS: [iOS 17.5.1]
-
Jellycuts Version [not shown in setting-> About] (Can be found in Settings -> About)
-
Jailbroken? [No]
Additional context
https://discord.com/channels/503976650439131183/1234300822976729108/threads/1257212448168087603
even if correct, it may generate incorrect plist as does the current version of AppStore-Jellycuts