Skip to content

Respect original statement order #26

@zhongjiajie

Description

@zhongjiajie

see more details in https://github.com/zhongjiajie/stmdency#usage, the output statement order is different from the original, we should keep the same,

diff between original to result

a = 1
- b = 2

def bar():
   b = a + 3
   print(a, b)

+ b = 2
+ 
def foo():
   bar(b)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions