January 03, 2020
https://issues.dlang.org/show_bug.cgi?id=1277

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dub pull request #1845 "Fix issue 1277: Missing dub.json causes infinite loop" was merged into master:

- 616731f826c2ebbcd6ccd5cf57104b516d6b10fb by Geod24:
  Fix issue 1277: Missing dub.json causes infinite loop

  For some reason, having a 'source/app.d' was recognized as being in a
package.
  This would load an empty package with no manifest and send the dependency
resolver
  in an infinite loop.
  Remove the special detection of 'source/app.d' and rely only on manifest.
  Another option would have been to detect 'source/app.d' as a single-file
package,
  but that is a bit too much magic (the user can just 'dub run --single
source/app.d').

https://github.com/dlang/dub/pull/1845

--