Search

November 26
Issues »
...raises an error:

```D
int toString(Writer)(ref Writer sink) => 3;
int toString(void delegate...
November 25
Issues »
...doesn't explain this error:

struct S {
    int[2] i;
}

void main()
{
    S s;
    s...
November 25
Issues »
...The following input

```
void function(int) a;
void function(int) b;

void main()
{
    const c...
November 25
Learn »
...enum E
{
    One,
    Two
}

// OK:
inout(int) fun(inout(int) i)
{
    writeln(i.to!string...
November 25
Issues »
...nl> ---
`bytes[4] << 24` gets promoted to int, and sign extended when or'd with...
November 24
Issues »
...Comment #1 from Nick Treleaven <nick@geany.org> ---
Workaround - use `[]`:

int[1] a = s.a[];

--
November 24
Issues »
...nick@geany.org

E.g.:

        void f(int[] b)
        {
            char[4] a;
            a = cast(char...
November 23
Learn »
...this?
```d
     string getOrZeroth(string[3] tup, int i) pure {
         return tup[i] == "" ? tup[0...
November 23
Issues »
...foo = foo2;
}

struct Foo
{
    union
    {
        Bar b;
        int i;
    }
}

struct Bar
{
    this(this) {}
    void opAssign...
November 22
Issues »
...an assertion failure when run:

---
struct S
{
    int n;
    @disable this(this);
}

void main()
{
    import...
1 2 3 4 5 6
Next ›   Last »