Bug 23736 – I'm a clown

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-02-24T08:22:54Z
Last change time
2023-02-24T08:26:48Z
Assigned to
No Owner
Creator
rempas

Comments

Comment #0 by rempas — 2023-02-24T08:22:54Z
I saved my documentation in a directory called "docs". When I tried to generate documentation, the compiler override this directory. Thank god, I hadn't written any serious documentation yet! Please, make it check if there is a directory and then warn to use the `-Dd` option and then abandon. I used `dub` with `ldc` btw but I suppose that this is a frontend thing. And just to be safe and ahead of time, If someone tells me that "I should have known that and be careful", First, there is no info (at least I wasn't able to find it) about the default name of the directory that is created so I couldn't have known that. And second, we are humans and we do mistakes and forget things. And that's why we need tools that protect us.
Comment #1 by rempas — 2023-02-24T08:26:48Z
It seems that I'm a complete clown that is to fast to draw conclusions... Forget this