March 13 Learn » Re: The std.file rename method fails in the docker environment. | |||
|---|---|---|---|
| |||
this is bug in D.
Docker run app code:
```d
reanme("/tmp/aaa", "/data/attachments... | |||
March 13 Learn » Re: The std.file rename method fails in the docker environment. | |||
|---|---|---|---|
| |||
Well, the subject of your post mentions std.file, and then you link to a... | |||
March 13 Learn » The std.file rename method fails in the docker environment. | |||
|---|---|---|---|
| |||
upload file to server in docker, but upload directory volume to host machine. Exception error... | |||
March 12 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...How are these better? The program still fails at runtime. In my experience, the beauty... | |||
March 11 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...is a runtime check. If the check fails, a fatal array overflow exception is generated... | |||
March 11 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...You right, after this trivial modification compiler fails to detect bug :(
```d
void doRun(A... | |||
March 11 Issues » [Issue 24435] New: [ImportC] Compilation fails when casting to struct defined in separate file | |||
|---|---|---|---|
| |||
...24435
Issue ID: 24435
Summary: [ImportC] Compilation fails when casting to struct
defined in separate... | |||
March 10 Issues » [Issue 24434] New: Casting away const with cast() should not produce an lvalue | |||
|---|---|---|---|
| |||
...oops
bar(i);
}
void bar(ref const int i) { assert(i == 3); } // fails at runtime
-- | |||
March 08 Issues » [Issue 24433] New: Array value assignment is incorrect for structs with destructors and copy constructors | |||
|---|---|---|---|
| |||
...1);
auto b = Uncopiable(2);
//testCopy(a); // fails, alright
auto c = [Uncopiable(3)];
c[] = a... | |||
March 08 Issues » [Issue 24432] New: Array dup ignores copy constructor with qualified argument | |||
|---|---|---|---|
| |||
...DMD 2.107.1, the following program fails to compile:
---
struct S
{
int* dummy;
this... | |||
Copyright © 1999-2021 by the D Language Foundation