D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13345 - rdmd --eval doesn't support args
Summary: rdmd --eval doesn't support args
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2014-08-20 16:42 UTC by Nils
Modified: 2020-06-05 23:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nils 2014-08-20 16:42:49 UTC
was issue 13290

---
rdmd '--eval=assert(args[1] == "arg");' arg
---
core.exception.RangeError@/tmp/.rdmd-1000/eval.962D23261531997F463C287790029FAE.d(18): Range violation
---

unsatisfactory PR: https://github.com/D-Programming-Language/tools/pull/140
Comment 1 Dlang Bot 2020-06-05 10:47:04 UTC
@Geod24 created dlang/tools pull request #408 "Fix issue 13345 - Add argument support to rdmd --eval" fixing this issue:

- Fix issue 13345 - Add argument support to rdmd --eval

https://github.com/dlang/tools/pull/408
Comment 2 Dlang Bot 2020-06-05 23:33:08 UTC
dlang/tools pull request #408 "Fix issue 13345 - Add argument support to rdmd --eval" was merged into master:

- 5e0317a4e863bc3f8a822e7b3b302c8795eb3804 by Geod24:
  Fix issue 13345 - Add argument support to rdmd --eval

https://github.com/dlang/tools/pull/408