Skip to content

Pyjaco version on pyjaco.org is outdated (was: Compiler doesn't construct a dict in the right manner) #78

@obeleh

Description

@obeleh

Example code:

def createDict(key, value):
return {key: value}

if str(createDict("k", "v")) != "{'k': 'v'}":
raise Exception("Dict wrong")

The result is:
{'key': 'v'}
And it should be:
{'k': 'v'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions