dfmt/tests/knr/foreach_array.d.ref

35 lines
437 B
Plaintext

static foreach (x; [
1,
2,
3,
]) {
}
static foreach_reverse (x; [
1,
2,
3,
]) {
}
void f()
{
foreach (x; [
1,
2,
3,
]) {
}
foreach_reverse (x; [
1,
2,
3,
]) {
}
if (!SymbolTool.instance.workspacesFilesUris.canFind!sameFile(uri)) {
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
]));
}
}