[Issue 13290] New: rdmd --eval ignores flags and program args
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Aug 13 12:48:17 PDT 2014
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: nobody at puremagic.com
Reporter: nilsbossung at googlemail.com
---
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.
--
More information about the Digitalmars-d-bugs
mailing list