December 11, 2012 Issues » [Issue 9127] Error on getting `stringof` on field with body-less interface type | |||
|---|---|---|---|
| |||
...13 PST --- By git head, the code outputs: ---- test.d(1): Error: interface test.I... | |||
December 05, 2012 General » misoverloading | |||
|---|---|---|---|
| |||
...stdio;
writeln("const");
}
unittest
{
foo(A());
}
DMD outputs the following error:
C:\Users\g.gyolchanyan... | |||
November 29, 2012 Learn » static assert | |||
|---|---|---|---|
| |||
...import std.conv; static assert(0, "1 != " ~ text(2)); outputs Error: static assert ['1',' ','!','=',' ','2'] | |||
November 28, 2012 Learn » Re: Segfault with std.container.Array but not regular dynamic array | |||
|---|---|---|---|
| |||
...Foo[int] map; map[1] = Foo(); } valgrind outputs: ==2562== Conditional jump or move depends on... | |||
November 21, 2012 Learn » Re: template ref parameter | |||
|---|---|---|---|
| |||
...bar = new Bar; foo.connect(&bar.handler); } outputs: Error: function signals.Foo.Signal!(int).connect... | |||
November 19, 2012 Learn » Default template arguments | |||
|---|---|---|---|
| |||
...of a real. In other words it outputs 4 4 16 Instead, what I'd... | |||
November 10, 2012 DMD » Re: [dmd-internals] Asserts | |||
|---|---|---|---|
| |||
...where you specify all valid inputs and outputs for each function (as documentation). There's... | |||
November 09, 2012 Learn » delegate bug? | |||
|---|---|---|---|
| |||
...func; dg(); dg.ptr = cast(void*)b; dg(); } outputs: A A but expected: A B | |||
November 07, 2012 Learn » Re: Manually freeing up memory | |||
|---|---|---|---|
| |||
...this:
auto raw = rawInput(); /* loads data and outputs a struct containing
the array of data... | |||
November 06, 2012 Announce » Re: User Defined Attributes | |||
|---|---|---|---|
| |||
...getOverloads, test, "foo"))
{
alias Tuple!(__traits(getAttributes, o)) attrs;
pragma(msg, attrs.stringof);
}
}
Compiler outputs:
()
()
| |||
Copyright © 1999-2021 by the D Language Foundation