Search

August 28
DIP Ideas »
...foo, bar;
alias S = bar.S;
```

call.d:

```
import baz;
void main() {
  auto s2 = S();
}
```
August 28
General »
...fun2()()
{
    fun1();
}

void main0() @system
{
    fun1();
}

void main() @safe
{
    fun2(); // not system!
}
```

We don't...
August 28
Issues »
...struct S
{
    int i;
    char c;
}

void main()
{
    S s = {2, 'c'};
    ref __si = s...
August 28
General »
...struct S
{
    int i;
    char c;
}

void main()
{
    S s = {2, 'c'};
    ref si = s...
August 28
General »
...int) {}
}
T instance;
enum funName = "myFun";

void main()
{
    int args = 0;
    alias fun = __traits(getMember...
August 27
Issues »
...needing to implement the change.

The two main ways of implementing this are:
1. Embedding...
August 27
General »
...bar()()
    {
        int n;
        foo(&n);
    }

    @safe void main()
    {
        bar();
    }

Currently, compiling this program with `-preview...
August 26
General »
...Consider:

```d
struct S{ int x; }
void main(){
    S s;
    alias x = s.tupleof;
    x...
28 29 30 31 32 33 34 35 36 37 38
Next ›   Last »