Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring is broken after parser changes #103

Closed
BugDiver opened this issue Aug 6, 2018 · 1 comment
Closed

Refactoring is broken after parser changes #103

BugDiver opened this issue Aug 6, 2018 · 1 comment
Assignees

Comments

@BugDiver
Copy link
Member

BugDiver commented Aug 6, 2018

Description

Refactoring is not working as expected after changing the parser from redbaron to parso.
The issue is replicable from the command line and ide both.

Steps to reproduce

  1. create a step name step1 and implement it.
  2. refactor step1 to step "param"
  3. refactor step "param" to step "inserted param" "param"
  4. the step gets refactored successfully but it causes a script error
@step("step <inserted param> <asd>")
                                       ^
SyntaxError: duplicate argument 'arg0' in function definition

Information that will help us debug

  • Gauge version -> Gauge version: 1.0.1 Commit Hash: 083a02f
  • Gauge Python plugin version -> HEAD
  • Python version -> 3.7.0
  • getgauge package version, run pip3 show getgauge to get it -> Installed from source

Note

This started happening after merging the #96 by @surajbarkale.

@BugDiver BugDiver added the ready label Aug 13, 2018
@BugDiver BugDiver self-assigned this Aug 13, 2018
BugDiver pushed a commit that referenced this issue Aug 13, 2018
@gaugebot
Copy link

gaugebot bot commented Aug 13, 2018

The fix should be available in nightly >= 8/13/2018

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

No branches or pull requests

2 participants