OpenJelly/Open-Jellycuts

Dictionaries fail to correctly parse

Closed this issue · 1 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:)

This issue has been moved to Open Jellcore OpenJelly/Open-Jellycore#1