Search

October 08
Learn »
...Go
package main

import "fmt"

type EntityDef struct {
    stats struct {
        hp int
    }
}

func main() {

    def...
October 07
General »
```d
void main()
{
    auto a = 0;
    auto b = 0;
    auto c = 1;

    auto ptr = &(c...
October 07
Learn »
...int value)
          => baz = value;//*/
        int baz;
    }
}

void main()
{
    Foo foo;
    foo.bar = 7;
    foo.baz...
October 07
Learn »
...struct EntityDef
{
    Tuple!(int, "hp") stats;
}

void main()
{
    EntityDef ed;
    int x = ed.stats.hp;
}
```
October 06
General »
...scope is now stored in sc.
The main aim was to restore the scope where...
October 06
General »
...blob/main/sarif.d)
     - [sarifoutput.md](https://github.com/royalpinto007/d-drafts/blob/main/sarifoutput...
October 06
Learn »
...Line 74
    }


2
0.8
1.14286
main.d(74): [unittest] This assert failed

Can...
October 06
Issues »
...fails the assertion in the destructor:

---
void main()
{
    import std.algorithm.comparison : equal;
    import std...
October 05
Learn »
...       int baz;
    }
}

void main()
{
    Foo foo;
    foo.bar = 7...
October 05
Issues »
...com
          Reporter: andy-hanson@protonmail.com

```
void main() {
        foo(Asdf());
}

void foo(in Asdg x...
15 16 17 18 19 20 21 22 23 24 25 26
Next ›   Last »