On Sunday, 27 October 2013 at 23:33:55 UTC, Ali Çehreli wrote:
On 10/27/2013 03:04 PM, monarch_dodra wrote:
it *could* be an (older) emplace bug. Do you reproduce with
head?
I had tested it with head. No, doesn't happen on head.
Thanks for testing that. I'm not set up to build dmd or phobos
On Monday, 28 October 2013 at 11:22:03 UTC, Jeroen Bollen wrote:
Is it possible in D to create an enum of class references?
Something around the lines of:
enum ClassReferences : Interface {
CLASS1 = ClassOne,
CLASS2 = ClassTwo
}
Short answer: No
Long answer: the enum values must be
On Thursday, 24 October 2013 at 00:02:30 UTC, bearophile wrote:
Jonathan M Davis:
Progress is being made on that however (as evidenced by the
fact that format can now be pure in the beta for 2.064).
Now two of the most common offenders of pure/nothrow in my
high level code are iota() and
On Monday, 28 October 2013 at 11:22:03 UTC, Jeroen Bollen wrote:
Is it possible in D to create an enum of class references?
Something around the lines of:
enum ClassReferences : Interface {
CLASS1 = ClassOne,
CLASS2 = ClassTwo
}
You can define class references in module scope and
On Monday, 28 October 2013 at 12:10:37 UTC, John Colvin wrote:
On Monday, 28 October 2013 at 11:22:03 UTC, Jeroen Bollen wrote:
Is it possible in D to create an enum of class references?
Something around the lines of:
enum ClassReferences : Interface {
CLASS1 = ClassOne,
CLASS2 =
On Monday, 28 October 2013 at 10:07:15 UTC, Rene Zwanenburg wrote:
Yeah, I'd like to know this as well. I do remember structs
allocated on the heap don't have their destructors called at
all due to the GC not being precise, I think.
But one object allowed to be destructed multiple times? That
Reduced:
module b;
class B {
this() {}
}
module a;
import b;
class C : B {}
class D(X) : X {}
alias D!(C) HtmlPanel;
dmd -profile a.d
Error: 'a.C.this' is not no throw
Everything is ok without the profile... may I post a bug report
for this?
Any difference in semantics between -profile and normal flow is a
bug, so, yes, please report to bugzilla.
On Monday, 28 October 2013 at 16:53:11 UTC, monarch_dodra wrote:
On Monday, 28 October 2013 at 10:07:15 UTC, Rene Zwanenburg
wrote:
Yeah, I'd like to know this as well. I do remember structs
allocated on the heap don't have their destructors called at
all due to the GC not being precise, I
On Monday, 28 October 2013 at 10:07:15 UTC, Rene Zwanenburg wrote:
On Sunday, 27 October 2013 at 23:33:55 UTC, Ali Çehreli wrote:
That's news to me. I know that objects may never be destroyed
but why multiple times? How many lives do they have? ;)
Yeah, I'd like to know this as well. I do
On 10/28/2013 12:30 PM, Maxim Fomin wrote:
So do you *know* cases or suspect that they may exists? Or remember some
bug issue?
Here is my attempt:
import std.stdio;
struct S
{
int i;
this(int i) { writefln(ctor, %X, i); this.i = i; }
this(this) { writefln(postblit, %X,
On Monday, 28 October 2013 at 21:26:41 UTC, Auto cannot infer
type from initializer wrote:
public static CompilerTable = [
/// \brief DMD
[-c
On Monday, 28 October 2013 at 21:27:46 UTC, Auto cannot infer
type from initializer wrote:
On Monday, 28 October 2013 at 21:26:41 UTC, Auto cannot infer
type from initializer wrote:
public static CompilerTable = [
/// \brief
On 10/28/2013 02:39 PM, Wolftein wrote:
Error: variable org.ghrum.installer.option.CompilerTable cannot
infer type from initializer
The declaration is public static auto CompilerTable = [ ... ]
Had to use string[string][] instead of auto.
Looks like a compiler bug to me. Reduced:
void
On 10/28/13, Ali Çehreli acehr...@yahoo.com wrote:
Looks like a compiler bug to me. Reduced:
Is there a reason why the last line cannot be compiled?
Could be one of these:
http://d.puremagic.com/issues/show_bug.cgi?id=9295
http://d.puremagic.com/issues/show_bug.cgi?id=9520
There's a bunch of
On Monday, October 28, 2013 13:40:03 Daniel Davidson wrote:
On Thursday, 24 October 2013 at 00:02:30 UTC, bearophile wrote:
Jonathan M Davis:
Progress is being made on that however (as evidenced by the
fact that format can now be pure in the beta for 2.064).
Now two of the most common
16 matches
Mail list logo