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

ARGS regression: options should not end up in ARGS #10227

Closed
StefanKarpinski opened this issue Feb 17, 2015 · 4 comments
Closed

ARGS regression: options should not end up in ARGS #10227

StefanKarpinski opened this issue Feb 17, 2015 · 4 comments
Labels
breaking This change will break code bug Indicates an unexpected problem or unintended behavior

Comments

@StefanKarpinski
Copy link
Member

This used to behave correctly and I'm not sure when it broke. When julia is invoked and options are parsed, only the arguments to the script should end up in ARGS, not all of the literal arguments to julia which is what's happening now. This will undoubtedly break people's code, unfortunately, since they have certainly had to work around the current broken behavior. We should also have some tests of this to make sure that it doesn't break again in the future.

@StefanKarpinski StefanKarpinski added bug Indicates an unexpected problem or unintended behavior breaking This change will break code REPL Julia's REPL (Read Eval Print Loop) labels Feb 17, 2015
@JeffBezanson
Copy link
Member

Is this the same as #9384?

@JeffBezanson JeffBezanson removed the REPL Julia's REPL (Read Eval Print Loop) label Feb 17, 2015
@StefanKarpinski
Copy link
Member Author

Not as far as I can tell, although that might be the underlying reason why this is broken – because we've split option parsing into two separate phases (C and Julia) that can't communicate easily.

@jakebolewski
Copy link
Member

This should be fixed in #9482.

@StefanKarpinski
Copy link
Member Author

Ok, then we can close this as a dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This change will break code bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants