www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16952] New: rdmd --eval='writeln();' keeps failing at every


          Issue ID: 16952
           Summary: rdmd --eval='writeln();' keeps failing at every
                    release, needs a test
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: timothee.cour2 gmail.com

it seems to break at every release, probably a symptom there's a test missing:

dmd --version
DMD64 D Compiler v2.072.1
rdmd '--eval=writeln();'
Error: module cstream is in file 'std/cstream.d' which cannot be read

dmd --version
DMD64 D Compiler v2.071.2
rdmd '--eval=writeln();'
Error: module syserror is in file 'std/syserror.d' which cannot be read

and also earlier versions:
https://issues.dlang.org/show_bug.cgi?id=15175  rdmd --loop and --eval now
complain about std.stream deprecation warnings
https://issues.dlang.org/show_bug.cgi?id=13288  rdmd --eval fails because it
still imports std.metastrings
https://issues.dlang.org/show_bug.cgi?id=10352 Regression (2.063): --eval is
broken in RDMD

Dec 06 2016