HaxeFoundation / haxe

Haxe - The Cross-Platform Toolkit
https://haxe.org
6.14k stars 656 forks source link

Add -D fail-fast #11609

Closed kLabz closed 6 months ago

kLabz commented 6 months ago

Often when dealing with a wall of errors, only the first one really makes sense.

Compiling with -D fail-fast, compilation will abort on first error (including its "sub errors") to skip the noise.

Simn commented 6 months ago

I really like this, I'd even make it the default and see if somebody complains, but for now this is good enough.

Should the define be added to the list of defines that doesn't change context signature?

kLabz commented 6 months ago

Should the define be added to the list of defines that doesn't change context signature?

Good point!