the following seems like a easy enough workaround:
just add
` if(this is typeof(this).init) return;` at 1st line of your invariant:
```d
import std.typecons;
import std.range;
struct MyDomainData {
string username;
this(string username) @safe
in(!username.empty)
do { this.us
IMO this should be the priority:
1. blockers (things that can't be worked around at all or not without
jumping through a lot of hoops)
2. everything else
dmd still doesn't support shared libraries on OSX (cf
https://issues.dlang.org/show_bug.cgi?id=12190)
That prevents a whole category of use ca
you should also mention an important point:
current syntax disallows importing a simple module foo (with no package), eg:
import std.stdio:write,foo; // there's no way to specify a module `foo`
import std.stdio:write & foo; // ok
I don't care whether it's `|` or `&` but `,` as a module separator
so how does one enforce that it imports `bar` as a module and not a
symbol in myModule when doing `import myModule : foo, bar;` ?
could this be supported:
`import myModule : foo, bar :`;
to break ambiguity?
On Tue, Feb 20, 2018 at 12:10 PM, jmh530 via Digitalmars-d-announce
wrote:
> On Tuesday,
dmd -log_when_issue_18315_occurred -run main.d
WARNING_18315 at (shows stacktrace): old:true, new:false
false
On Sun, Feb 4, 2018 at 3:01 PM, Timothee Cour wrote:
> thanks @aG0aep6G for this PR https://github.com/dlang/dmd/pull/7841 to fix it.
> this should be in point release because:
> * ldc2 has correct beha
thanks @aG0aep6G for this PR https://github.com/dlang/dmd/pull/7841 to fix it.
this should be in point release because:
* ldc2 has correct behavior
* the bug disappears with `-O`
so the argument that ppl would rely on it is moot
On Fri, Feb 2, 2018 at 6:37 AM, Steven Schveighoffer via
Digitalmars
that's great... unfortunately
https://github.com/vibe-d/vibe.d/issues/1991 is a regression
preventing from updating to 0.8.X (has a reduced test case). Any help
on this would be very appreciated, thanks!
On Tue, Dec 12, 2017 at 11:44 AM, Sönke Ludwig via
Digitalmars-d-announce wrote:
> The major
could these releases be tied to 'homebrew/linuxbrew' upgrades as part
of release process?
On Sun, Dec 10, 2017 at 10:11 AM, Suliman via Digitalmars-d-announce
wrote:
> On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
>>
>> Hi everyone,
>>
>> on behalf of the LDC team, I'm glad to announ
>
> * -transition=safe/-dip1000
> => not mentioned in http://dlang.org/changelog/2.073.0.html
>
> That's deliberate, as you can't even use it with writeln yet.
https://issues.dlang.org/show_bug.cgi?id=17090 `dmd -transition=?` needs
quoting => make it `-transition=help`
On Sat, Jan 14, 2017 at 3
* -transition=safe/-dip1000
=> not mentioned in http://dlang.org/changelog/2.073.0.html
* std.experimental.ndslice has been deprecated. The synchronization between
Phobos and Mir turned out to be a lot of work with litte gain
=> That's a good move. Will make development faster indeed by not being
is it properly sandboxed / hacking proof?
quick tests:
```
import std.process;
auto msg="sleep 10";
executeShell(msg).output.writeln;
```
correctly results in `Application output (9: Killed)`
"ls -al .." => permission denied
"ls /usr/bin/ld" => -rwxr-xr-x 2 0 0 834648 Jan 3 2013 /usr/bin/l
no sound :(
On Thu, Jun 23, 2016 at 7:18 PM, Ali Çehreli <
digitalmars-d-announce@puremagic.com> wrote:
> Google Hangout:
>
>
>
> https://hangouts.google.com/hangouts/_/hoaevent/AP36tYciptM-tYpkf-Y0NXXs__5mWY5fBGv_x7TA25cYLo3TZPIe3w?hl=en&authuser=1
>
> Ali
>
>
> On 06/23/2016 01:45 PM, Ali Çehre
found it under https://www.packtpub.com/web-development/d-web-development
On Sat, Feb 6, 2016 at 12:50 AM, Timothee Cour
wrote:
> is there a url to download the code samples mentioned in the ebook?
>
> On Sun, Jan 31, 2016 at 5:08 AM, Jacob Carlborg via Digitalmars-d-announce
> wr
is there a url to download the code samples mentioned in the ebook?
On Sun, Jan 31, 2016 at 5:08 AM, Jacob Carlborg via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:
> On 2016-01-30 19:09, barberian wrote:
>
> I don't know what you're seeing there, but here:
>>
>> Ebook =
On Thu, Aug 7, 2014 at 11:11 AM, Jonathan M Davis via
Digitalmars-d-announce wrote:
> On Thursday, 7 August 2014 at 17:05:29 UTC, Manu via
> Digitalmars-d-announce wrote:
>
>> I've never encountered anybody try and use MSC from the command line in
>> about 15 years professionally.
>>
>
> LOL. Tha
already added a bug report in github for that
On Wed, Feb 12, 2014 at 11:56 AM, MattCoder
wrote:
> On Tuesday, 11 February 2014 at 04:46:41 UTC, Martin Nowak wrote:
>
>> Barely running but already fun and a little useful.
>>
>
> Interesting!
>
> I was playing around:
>
> D> write("test");
> => u
On Wed, Oct 16, 2013 at 2:21 PM, Andrei Alexandrescu <
seewebsiteforem...@erdani.org> wrote:
> On 10/16/13 5:38 AM, Bruno Medeiros wrote:
>
>> On 08/10/2013 14:18, Alexander Bothe wrote:
>>
>>> Are there any plans/tricks/hacks on how to get programs built
>>> with dmd debuggable with gdb? Then we
and another regression, this time more serious, that came up in my code:
http://d.puremagic.com/issues/show_bug.cgi?id=10148
Note, dustmite got stuck forever trying to reduce it, so i had to reduce
manually.
On Tue, May 21, 2013 at 1:36 PM, Walter Bright
wrote:
>
> Join the dmd beta mailing li
just filed a regression from 062 to 063:
http://d.puremagic.com/issues/show_bug.cgi?id=10141
it only affects error message though (giving a nonsensical error message).
Digression:
I used dustmite to reduce it (awesome tool) down to 6 files, but then had
to further manually reduce to 1 file.
I wish
great! Can you explain a bit pros/cons wrt other ones such as dub?
also, dip name is a bit confusing because DIP stands for D Improvement
Proposal, wiki.dlang.org/DIPs.
On Fri, May 17, 2013 at 3:53 PM, Rory McGuire wrote:
> Hi all,
>
> I've started working on a little experimental package manage
I'm still willing to mentor, whether under G or D Soc!
On Tue, Apr 9, 2013 at 12:10 AM, Walter Bright
wrote:
> On 4/8/2013 11:42 PM, Rory McGuire wrote:
>>
>> Could we not still run the basics of the program minus the funding?
>> Perhaps
>> there are still students and mentors that would be inter
21 matches
Mail list logo