Commit 0abb7f3f authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Fix #418 (wrong error message)

parent 7be7dc28
......@@ -499,7 +499,7 @@ class Scope(object):
if entry.as_module:
scope = entry.as_module
else:
error(pos, "'%s' is not a cimported module" % scope.qualified_name)
error(pos, "'%s' is not a cimported module" % '.'.join(path))
return None
return scope
......
import somemod.child
cdef somemod.child.something x
_ERRORS = u"""
3:5: 'somemod.child' is not a cimported module
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment