From ffebade4b474be2b14117fe92d3ca72813d2d938 Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Wed, 14 Oct 2020 16:54:49 +0200 Subject: Fix anomaly when importing a functor Fix #13162 --- test-suite/bugs/closed/bug_13162.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/bugs/closed/bug_13162.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_13162.v b/test-suite/bugs/closed/bug_13162.v new file mode 100644 index 0000000000..eacc8980a9 --- /dev/null +++ b/test-suite/bugs/closed/bug_13162.v @@ -0,0 +1,7 @@ + +Module Type T. End T. +Module F (X:T). End F. +Fail Import F. +(* Error: Anomaly "Uncaught exception Not_found." *) + +Fail Import T. -- cgit v1.2.3