June 09, 2015 [Issue 2051] interfaces should allow private methods | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=2051 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D1 & D2 |D2 -- | ||||
December 03, 2020 [Issue 2051] interfaces should allow private methods | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=2051 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dub pull request #2052 "Fix #2051: Running unit tests from DUB single file packages fails" was merged into master: - fd32d4d314c9052b0013aa867f24a2711c0554d0 by drug007: Fix #2051 "Running unittests from dub single file packages fails" Performing test command dub imports every source file as module to build the project excluding the main source file. But this excluding may fail and in this case dub try to import the main source file as module. Single file package building fails because the main source file does not belong to any import path. Now both the current file and the main source file paths are compared in relative form to prevent importing the main source file as module. https://github.com/dlang/dub/pull/2052 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply