We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc0a10 commit e0f9620Copy full SHA for e0f9620
src/Lean/Environment.lean
@@ -2002,7 +2002,7 @@ partial def importModulesCore
2002
for i in imports do
2003
if let some mod := (← get).moduleNameMap[i.module]?.bind (·.mainModule?) then
2004
if !mod.isModule then
2005
- throw <| IO.userError s!"cannot import non`-module` {i.module} from `module`"
+ throw <| IO.userError s!"cannot import non-`module` {i.module} from `module`"
2006
/-
2007
When the module system is disabled for the root, we import all transitively referenced modules and
2008
ignore any module system annotations on the way.
0 commit comments