Stephan Schiffels:
this code crashes with a segfault. I need help to understand what might be wrong with it.import std.array; import std.algorithm; void main() {auto names = ["file1.txt", "file2.txt", "file3.txt"]; // let these files existauto files = names.map!(f => File(f, "r"))().array(); }
If I use the latest 2.063beta5 compiler, and I also import std.stdio, then I see no crash on Windows32.
Bye, bearophile