www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16966] New: rdmd: AssertError rdmd.d(489): should have been

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

          Issue ID: 16966
           Summary: rdmd: AssertError rdmd.d(489): should have been
                    created by compileRootAndGetDeps
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: ag0aep6g gmail.com

test.d:
----
void main() {}
----

Run with rdmd, then try --build-only:
----
rdmd test.d
rdmd --build-only test.d
----

Output:
----
core.exception.AssertError rdmd.d(489): should have been created by
compileRootAndGetDeps
----

I'm working on a PR.

--
Dec 11 2016