This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commits on Dec 20, 2020
-
Preventively switch to uninterruptible mask in withMVar'
withMVar' is used to update the shakeSession var and it's crucial that the third argument is not interrupted. 'mask' can still be interrupted for I/O actions and, while we were careful to ensure none was used, if it ever breaks it will lead to very hard to debug problems.
Configuration menu - View commit details
-
Copy full SHA for 87d9c06 - Browse repository at this point
Copy the full SHA 87d9c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b96a8 - Browse repository at this point
Copy the full SHA a5b96a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f00b4 - Browse repository at this point
Copy the full SHA f1f00b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab366d - Browse repository at this point
Copy the full SHA 3ab366dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34832be - Browse repository at this point
Copy the full SHA 34832beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b9d0ca - Browse repository at this point
Copy the full SHA 0b9d0caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 199d9e5 - Browse repository at this point
Copy the full SHA 199d9e5View commit details -
GetModSummaryWithoutTimestamps - remove StringBuffer
Since the contents of the buffer are not tracked by the fingerprint.
Configuration menu - View commit details
-
Copy full SHA for 6588302 - Browse repository at this point
Copy the full SHA 6588302View commit details -
Given a FOI F with non null typechecking diagnostics D, imagine the following scenario: 1. An edit notification for F is received, creating a new version 2. GetModTime is executed, producing 0 diagnostics. 2.1 updateFileDiagnostics is called 2.2 setStageDiagnostics is called 2.3 LSP.updateDiagnostics is called with a new version, resetting all the diagnostics for F 2.4 newDiags=[] in updateFileDiagnostics, which is different from D (the last published diagnostics), which enqueues a new publishDiagnostics [] in the Debouncer 3. An edit notification for F is received before typechecking has a chance to run which undoes the previous edit 4. The debouncer publishes the empty set of diagnostics after waiting 0.1s 5. GetFileContents runs and since the contents of the file haven't changed since the last time it ran, early cutoff skips everything donwstream Since TypeCheck is skipped, the empty set of diagnostics stays published until another edit comes. The goal of this change is to prevent setStageDiagnostics from losing diagnostics from other stages. To achieve this, we recover the old diagnostics for all stages and merge them with the new stage.
Configuration menu - View commit details
-
Copy full SHA for f7f0bfb - Browse repository at this point
Copy the full SHA f7f0bfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7936e66 - Browse repository at this point
Copy the full SHA 7936e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for aad22e6 - Browse repository at this point
Copy the full SHA aad22e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b467e37 - Browse repository at this point
Copy the full SHA b467e37View commit details -
Configuration menu - View commit details
-
Copy full SHA for d72b032 - Browse repository at this point
Copy the full SHA d72b032View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.