From c6c0834b16fca5f895599156183445c45c8ba4e8 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Tue, 1 Sep 2015 18:25:01 -0400 Subject: [PATCH] Add the calling module name to the warning message --- src/toplevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toplevel.c b/src/toplevel.c index 9bc767fe6d8c9..1e5f34aef1214 100644 --- a/src/toplevel.c +++ b/src/toplevel.c @@ -370,7 +370,7 @@ static jl_module_t *eval_import_path_(jl_array_t *args, int retrying) } } if (retrying && require_func) { - jl_printf(JL_STDERR, "WARNING: requiring \"%s\" did not define a corresponding module.\n", var->name); + jl_printf(JL_STDERR, "WARNING: requiring \"%s\" in module \"%s\" did not define a corresponding module.\n", var->name, jl_current_module->name->name); return NULL; } else {