Open-Jellycore icon indicating copy to clipboard operation
Open-Jellycore copied to clipboard

Dictionaries fail to correctly parse

Open ActuallyTaylor opened this issue 1 year ago • 0 comments

The following Jelly code results in a compilation error that complains about the missing a parameter named PLACEHOLDER.

import Shortcuts
#Color: green, #Icon: shortcuts

//This is a test

dictionary(json:{"gumdrop":"blue","apple":"red"}) >> JSO

valueFor(key: "apple", dictionary: JSO) >> dictVal

quicklook(input: dictVal)

IMG_9926

Transcription:

Missing parameter name: PLACEHOLDER in Dictionary.
- Jelly no longer supports unnamed parameters. You need to include the parameter name - (PLACEHOLDER:) in the function: (Dictionary)
Missing parameter name: PLACEHOLDER in Dictionary.
- Jelly no longer supports unnamed parameters. You need to include the parameter name - (PLACEHOLDER:) in the function: (Dictionary)
Missing parameter name: PLACEHOLDER in Dictionary.
- Jelly no longer supports unnamed parameters. You need to include the parameter name - (PLACEHOLDER:)
- Jelly no longer supports unnamed parameters. You need to include the parameter name - (PLACEHOLDER:) in the function: (Dictionary)
Missing parameter name: PLACEHOLDER in Dictionary.
- Jelly no longer supports unnamed parameters. You need to include the parameter name - (PLACEHOLDER:)

ActuallyTaylor avatar Aug 14 '23 16:08 ActuallyTaylor