summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resolve/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/index.cpp b/src/resolve/index.cpp
index 6051b82d..ec1fcd8d 100644
--- a/src/resolve/index.cpp
+++ b/src/resolve/index.cpp
@@ -67,7 +67,7 @@ void _add_item(const Span& sp, AST::Module& mod, IndexName location, const ::std
{
if( error_on_collision )
{
- ERROR(sp, E0000, "Duplicate definition of name '" << name << "' in " << location << " scope (" << mod.path() << ")");
+ ERROR(sp, E0000, "Duplicate definition of name '" << name << "' in " << location << " scope (" << mod.path() << ") " << ir << ", and " << list[name].path);
}
else if( list.at(name).path == ir )
{