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

Replace "var" with instance type in generated instantiations #1

Closed
arnab-sen opened this issue Dec 28, 2020 · 1 comment
Closed

Replace "var" with instance type in generated instantiations #1

arnab-sen opened this issue Dec 28, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@arnab-sen
Copy link
Owner

arnab-sen commented Dec 28, 2020

Current behaviour:

A generated instantiation line has the following format:
var <name> = new <type>(<constructor args>) {<object initialisation>}; /* <metadata> */

Desired behaviour:

A generated instantiation line should have the following format:
<type> <name> = new <type>(<constructor args>) {<object initialisation>}; /* <metadata> */

Comments:

This is apparently required for automated testing. This is a relatively unobtrusive decorative change, although it will cause misalignment between lines with identical variable name lengths.

@arnab-sen arnab-sen added the enhancement New feature or request label Dec 28, 2020
@arnab-sen arnab-sen self-assigned this Dec 28, 2020
@arnab-sen
Copy link
Owner Author

Added in v1.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant