Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 24, 2021 [Issue 21660] [REG 2.066.0] cannot convert unique immutable(int)** to immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21660 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid -- |
February 24, 2021 [Issue 21660] [REG 2.066.0] cannot convert unique immutable(int)** to immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21660 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |regression -- |
July 19, 2021 [Issue 21660] [REG 2.066.0] cannot convert unique immutable(int)** to immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21660 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=22130 -- |
March 17, 2022 [Issue 21660] [REG 2.066.0] cannot convert unique immutable(int)** to immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21660 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkorpel@live.nl --- Comment #1 from Dennis <dkorpel@live.nl> --- Version without templates: ``` alias T = immutable int; T** f1(const T*** input) pure { T** output; return output; } T** f2(const S2* input) pure { T** output; return output; } T** f3(const S3* input) pure { T** output; return output; } struct S2 { T* foo; } struct S3 { immutable int foo; } void main() { /* Not regressions in 2.066 (i.e. 2.065 also rejected these): */ immutable int*** a1; immutable int** r1 = f1(a1); S2* a2; immutable int** r2 = f2(a2); /* But this one compiles with 2.065, so it's a regression: */ S3* a3; immutable int** r3 = f3(a3); } ``` -- |
December 13 [Issue 21660] [REG 2.066.0] cannot convert unique immutable(int)** to immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21660 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19877 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation