Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Handle compilation cancellation properly. #821
Incremental compiler didn't have any explicit logic to handle
Specifically, what would happen is that it would treat cancelled
We fix that problem by following the same logic that handles compilation
We do that by introducing a new exception
NOTE: In case there were compilation errors reported before
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Here's the code I used for testing this change: gkossakowski/sbt@ece9b71
I didn't add it because it's done in a very hacky (unmaintanable) way. However, this is a kind of functionality that is rather hard to test especially when sbt doesn't natively support compilation interruption.