www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13346] New: rdmd --option value

https://issues.dlang.org/show_bug.cgi?id=13346

          Issue ID: 13346
           Summary: rdmd --option value
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: pull
          Severity: enhancement
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: nilsbossung googlemail.com

---
rdmd --eval 'writeln("hello world");'
---
object.Exception ../phobos/std/getopt.d(689): Missing value for argument
--eval.
---

rdmd interprets 'writeln("hello world");' as the program file.

unsatisfactory PR: https://github.com/D-Programming-Language/tools/pull/140

--
Aug 20 2014