Beta 2.079.0

Kagamin spam at here.lot
Fri Feb 23 17:47:08 UTC 2018


> auto result = foo(), bar();
Doesn't look like it works.

---
int f(int a){ return a; }
int main()
{
     int a=f(0),f(1); //doesn't compile
     return 0;
}
---
int f(int a){ return a; }
int main()
{
     int a;
     a=f(0),f(1);
     assert(a==1); //fails
     return 0;
}
---
https://run.dlang.io/is/IgArs0


More information about the Digitalmars-d-announce mailing list