November 24, 2019 Re: lifetime issue: Bug or not? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 11/24/19 11:28 AM, Steven Schveighoffer wrote:
>
> Oh my, I swear I put something similar into run.dlang.io and it compiled fine.
>
> I'll file a bug.
The key here is that SQLStatement has a string in it. In my toy test, I didn't put anything (or I just put an int maybe?)
Something about the pointer inside it makes a difference.
According to run.dlang.io, it's been broken since 2.072.3 or so. Going to file now...
-Steve
|
November 24, 2019 Re: lifetime issue: Bug or not? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 11/23/19 6:32 PM, Walter Bright wrote: > On 11/23/2019 4:10 AM, Steven Schveighoffer wrote: >> It works. This is what I'm expecting the compiler to do automatically. > > Ok, but you're going to need to find a test case that can be put on bugzilla. https://issues.dlang.org/show_bug.cgi?id=20416 -Steve |
November 24, 2019 Re: lifetime issue: Bug or not? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 11/24/2019 8:52 AM, Steven Schveighoffer wrote:
> https://issues.dlang.org/show_bug.cgi?id=20416
Thank you.
|
Copyright © 1999-2021 by the D Language Foundation