Skip to content

Commit

Permalink
improve compiler error message for reference to unknown module name
Browse files Browse the repository at this point in the history
  • Loading branch information
Viir committed Jan 27, 2025
1 parent cf1d13e commit 2c1086c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implement/pine/Elm/elm-compiler/src/ElmCompiler.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3745,7 +3745,7 @@ getDeclarationValueFromCompilation ( moduleName, nameInModule ) compilation =
++ String.join "." moduleName
++ "'. There are "
++ String.fromInt (Dict.size compilation.availableModules)
++ " declarations in this scope: "
++ " modules available: "
++ String.join ", " (List.map (String.join ".") (Dict.keys compilation.availableModules))
)

Expand Down

0 comments on commit 2c1086c

Please sign in to comment.