dfmt icon indicating copy to clipboard operation
dfmt copied to clipboard

Reformatting of anonymous closure is messy.

Open schancel opened this issue 8 years ago • 1 comments

It would be nice if dfmt maintained the indentation for the following bit of code.

    runTask(() {
    	tasks.each!((task) { 
    		task.join();
    	});
    	exitEventLoop();
    });

-->

    runTask(() { tasks.each!((task) { task.join(); }); exitEventLoop(); });

schancel avatar Dec 06 '16 18:12 schancel

(still broken with #471)

WebFreak001 avatar Mar 09 '20 12:03 WebFreak001