File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
compiler/src/Reporting/Render/Type Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ toDoc localizer home name =
6262
6363
6464toString :: Localizer -> ModuleName. Canonical -> N. Name -> String
65- toString (Localizer localizer) (ModuleName. Canonical _ home) name =
65+ toString (Localizer localizer) moduleName @ (ModuleName. Canonical _ home) name =
6666 case Map. lookup home localizer of
6767 Nothing ->
6868 N. toString home <> " ." <> N. toString name
@@ -75,6 +75,8 @@ toString (Localizer localizer) (ModuleName.Canonical _ home) name =
7575 Only set ->
7676 if Set. member name set then
7777 N. toString name
78+ else if name == N. list && moduleName == ModuleName. list then
79+ " List"
7880 else
7981 N. toString (maybe home id alias) <> " ." <> N. toString name
8082
You can’t perform that action at this time.
0 commit comments