December 06, 2020 run.dlang.io compilation timeouts | ||||
---|---|---|---|---|
| ||||
I use run.dlang.io extensively to test snippets of code, and the "all dmd compilers" function is handy at times. Concretely I today wanted to confirm that std.algorithm.remove took its argument by ref since forever. A short enough example, https://run.dlang.io/is/diMup5. import std.algorithm; import std.stdio; void main() { int[] arr = [ 1, 2, 3, 4, 5 ]; auto barr = arr.remove!(SwapStrategy.unstable)(2); if (barr != [ 1, 2, 5, 4 ]) writeln(barr); } But it results in a "Server error:". Is it very unreasonable to ask that the timeout be increased? Is there some other mechanic at play? |
Copyright © 1999-2021 by the D Language Foundation