diff options
author | Yuchen Pei <hi@ypei.me> | 2022-08-19 17:36:03 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-08-19 17:36:03 +1000 |
commit | ed46b9055bd5fbb05dc35fe0d41d73dd3c785e3d (patch) | |
tree | c4de7f3da658c9ff5074d41ed21bcc294884d61b /src/HaskellCodeExplorer | |
parent | 764d38e0d2968f32ee3c8e1a2e24d750e5eb6786 (diff) |
linting warning shadowing
Diffstat (limited to 'src/HaskellCodeExplorer')
-rw-r--r-- | src/HaskellCodeExplorer/ModuleInfo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaskellCodeExplorer/ModuleInfo.hs b/src/HaskellCodeExplorer/ModuleInfo.hs index d344475..d79b685 100644 --- a/src/HaskellCodeExplorer/ModuleInfo.hs +++ b/src/HaskellCodeExplorer/ModuleInfo.hs @@ -611,7 +611,7 @@ createDeclarations flags hsGroup typeEnv exportedSet transformation = (lineNumber (getLocA lf)) fords = map foreignFunToDeclaration $ hs_fords hsGroup -------------------------------------------------------------------------------- - in L.sortOn (\HCE.Declaration {..} -> lineNumber) + in L.sortOn (\HCE.Declaration { lineNumber = lineNo } -> lineNo) $ vals ++ tyclds ++ insts |