app.d:

import vibe.d;

shared static this()
{
	listenTCP(7, (conn){ conn.write(conn) });
}

error:

D:\Project\2014\JSONServer>dub
Target vibe-d 0.7.21 is up to date. Use --force to rebuild.
Building jsonserver ~master configuration "application", build type debug.
Compiling using dmd...
source\app.d(5): Error: found '}' when expecting ';' following statement
source\app.d(5): Error: found ')' instead of statement
source\app.d(6): Error: found 'EOF' when expecting ','
source\app.d(6): Error: found 'EOF' when expecting ')'
source\app.d(6): Error: found 'EOF' when expecting ';' following statement
source\app.d(6): Error: found 'EOF' when expecting '}' following compound statem
ent
source\foo.d(5): Error: found '}' when expecting ';' following statement
source\foo.d(5): Error: found ')' instead of statement
source\foo.d(6): Error: found 'EOF' when expecting ','
source\foo.d(6): Error: found 'EOF' when expecting ')'
source\foo.d(6): Error: found 'EOF' when expecting ';' following statement
source\foo.d(6): Error: found 'EOF' when expecting '}' following compound statem
ent
FAIL .dub\build\application-debug-windows-x86-dmd_2066-FA6EE492E7D811DFCB02C2EFC
AFB2E17\ jsonserver executable
Error executing command run: dmd failed with exit code 1.