November 28, 2022 General » Re: Is this a bug in Nullable or in compiler? | |||
|---|---|---|---|
| |||
...to fix it:
```d
alias NS = Nullable!S;
struct S
{
Nullable!S delegate() f;
}
```
-Steve | |||
November 28, 2022 General » Re: Is this a bug in Nullable or in compiler? | |||
|---|---|---|---|
| |||
...None,S)` then everything works:
```d
struct None {}
struct S
{
SumType!(None,S) delegate() f;
}
``` | |||
November 28, 2022 General » Is this a bug in Nullable or in compiler? | |||
|---|---|---|---|
| |||
...t compile:
```d
struct S
{
Nullable!S delegate() f;
}
```
Output from DMD:
```
/dlang/dmd/linux... | |||
November 28, 2022 Issues » [Issue 23491] Nonsensical deprecation message when using delegate | |||
|---|---|---|---|
| |||
...Fix 23491 - Nonsensical deprecation message when using delegate" was merged into master: - d637dfdf254fd7e63b485f6570723849e28e36eb by Dennis... | |||
November 23, 2022 Issues » [Issue 17906] Deprecated Language features should be allowed without a deprecation in a deprecated scope | |||
|---|---|---|---|
| |||
...safe
{
toString(null);
}
deprecated
void toString (void delegate (char[]) @safe sink) @safe
{
char[20] buffer... | |||
November 22, 2022 General » [SAoC 2022] Replace druntime Hooks with Templates: Milestone 2, Week 4 | |||
|---|---|---|---|
| |||
...node to the frontend to which we delegate copying `vthis`. The good thing regarding this... | |||
November 21, 2022 Issues » [Issue 23491] Nonsensical deprecation message when using delegate | |||
|---|---|---|---|
| |||
...when using delegate" fixing this issue: - Fix 23491 - Nonsensical deprecation message when using delegate https... | |||
November 20, 2022 General » Re: What should happen when the assert message expression throws? | |||
|---|---|---|---|
| |||
...lazy' parameter which I think is a 'delegate'. Perhaps the compiler can use a 'function... | |||
November 18, 2022 General » Re: Discussion Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...void foo(A delegate(A) dg){
writeln("first overload");
}
void foo(B delegate(B) dg... | |||
November 18, 2022 Issues » [Issue 23491] Nonsensical deprecation message when using delegate | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23491
Dennis <dkorpel@live.nl> changed:
What... | |||
Copyright © 1999-2021 by the D Language Foundation