Skip to content

Assignment #33

Description

@martinRenou

We should use beniget for assignments and forward substitution. By using beniget we could allow this kind of functions:

def foo(value):
    if value < 3:
        b = 3
    else:
        b = 4
    return b

This should turn into an equivalent of value < 3 ? 3 : 4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions