We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Method extract_methods gives wrong end and body_end values for coffeescript code:
extract_methods
end
body_end
class Name constructor: (test) -> x = test n: (test) -> a = test b: (test) -> z = test
Actual result:
[ { 'privacy': 'public', 'body_start': 33, 'body_end': 106, 'name': 'constructor', 'start': 13, 'end': 106, 'index': 0, }, { 'privacy': 'public', 'body_start': 62, 'body_end': 106, 'name': 'n', 'start': 52, 'end': 106, 'index': 1, }, { 'privacy': 'public', 'body_start': 91, 'body_end': 106, 'name': 'b', 'start': 81, 'end': 106, 'index': 2, } ]
Expected result:
[ { 'privacy': 'public', 'body_start': 33, 'body_end': 48, 'name': 'constructor', 'start': 13, 'end': 48, 'index': 0, }, { 'privacy': 'public', 'body_start': 62, 'body_end': 77, 'name': 'n', 'start': 52, 'end': 77, 'index': 1, }, { 'privacy': 'public', 'body_start': 91, 'body_end': 106, 'name': 'b', 'start': 81, 'end': 106, 'index': 2, } ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Method
extract_methods
gives wrongend
andbody_end
values for coffeescript code:Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: