[Issue 22751] DMD as a library hang with fatal() on parseModule

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 17 17:16:14 UTC 2022


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

Paul Backus <snarwin+bugzilla at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |snarwin+bugzilla at gmail.com

--- Comment #3 from Paul Backus <snarwin+bugzilla at gmail.com> ---
dmdtags [1] is affected by this bug:

---
$ printf 'module valid;' > valid.d
$ printf '\xFF' > invalid.d
$ dmdtags valid.d invalid.d
$ echo $?
1
$ grep valid tags
grep: tags: No such file or directory
---

This is especially troublesome when using `dmdtags -R`, since a single invalid
file anywhere in the directory tree causes tag generation to fail for *all*
files.

[1]: https://github.com/pbackus/dmdtags

--


More information about the Digitalmars-d-bugs mailing list