aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-08-19 17:36:03 +1000
committerYuchen Pei <hi@ypei.me>2022-08-19 17:36:03 +1000
commited46b9055bd5fbb05dc35fe0d41d73dd3c785e3d (patch)
treec4de7f3da658c9ff5074d41ed21bcc294884d61b
parent764d38e0d2968f32ee3c8e1a2e24d750e5eb6786 (diff)
linting warning shadowing
-rw-r--r--src/HaskellCodeExplorer/ModuleInfo.hs2
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