Bug 13290 – rdmd --eval ignores flags and program args

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
tools
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-08-13T19:48:00Z
Last change time
2014-08-20T16:48:31Z
Keywords
pull
Assigned to
nobody
Creator
nilsbossung

Comments

Comment #0 by nilsbossung — 2014-08-13T19:48:17Z
--- rdmd -debug '--eval=debug {} else assert(false);' --- core.exception.AssertError@/tmp/.rdmd-1000/eval.ED67B51406C6E567FF8177C457A624FE.d(18): Assertion failure --- --- rdmd '--eval=assert(args[1] == "arg");' arg --- core.exception.RangeError@/tmp/.rdmd-1000/eval.962D23261531997F463C287790029FAE.d(18): Range violation --- Pull request is on the way.
Comment #1 by nilsbossung — 2014-08-13T20:45:14Z
Comment #2 by nilsbossung — 2014-08-20T16:35:57Z
`rdmd <flags> --eval=code` can be fixed independently. I'm splitting this up into two separate issues, and adding a third one for `rdmd --option value`.
Comment #3 by nilsbossung — 2014-08-20T16:48:31Z
(In reply to Nils from comment #2) > I'm splitting this up into two separate issues, and adding a third one for > `rdmd --option value`. done: issue 13344, issue 13345, issue 13346 Closing this. Not sure what status to choose. I'm going with RESOLVED INVALID.