Fix DScanner warnings

This commit is contained in:
Sebastian Wilzbach 2018-02-09 18:29:38 +01:00
parent fcaf801cd1
commit d9830b739e
17 changed files with 104 additions and 82 deletions

View file

@ -9,7 +9,7 @@ module std.experimental.scripting;
import std.experimental.scripting;
int len;
auto r = 6.iota
const r = 6.iota
.filter!(a => a % 2) // 0 2 4
.map!(a => a * 2) // 0 4 8
.tee!(_ => len++)