www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19320] New: Unittest error: Variable used before set in

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

          Issue ID: 19320
           Summary: Unittest error: Variable used before set in
                    std/array.d
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: ioanas96 yahoo.com

When building the unittest with this command:
make -f posix.mak std/array.test
I encountered the following error:
std/array.d(4179): Error: variable theArray used before set

When building the unittest for the entire hierarchy with this command:
make -f posix.mak -j8 unittest
I did not encounter the error and all the tests passed.

--
Oct 20 2018