https://issues.dlang.org/show_bug.cgi?id=13290
Issue ID: 13290
Summary: rdmd --eval ignores flags and program args
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: tools
Assignee: [email protected]
Reporter: [email protected]
---
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.
--