Skip to content

Commit 3582203

Browse files
committed
Use a newtype
1 parent 7817a10 commit 3582203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Core/RuleTypes.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ type instance RuleResult GetModIfaceWithoutLinkable = HiFileResult
250250
type instance RuleResult GetFileContents = (FileVersion, Maybe Text)
251251

252252
-- The Shake key type for getModificationTime queries
253-
data GetModificationTime = GetModificationTime_
253+
newtype GetModificationTime = GetModificationTime_
254254
{ missingFileDiagnostics :: Bool
255255
-- ^ If false, missing file diagnostics are not reported
256256
}

0 commit comments

Comments
 (0)