aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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