From 25aaa4c5e9da90af41629d574dbc905f3781acd2 Mon Sep 17 00:00:00 2001 From: Jasper Hugunin Date: Sun, 20 Jan 2019 19:22:09 -0800 Subject: Discard argument names of section variables on section close --- test-suite/bugs/closed/bug_9367.v | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test-suite/bugs/closed/bug_9367.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_9367.v b/test-suite/bugs/closed/bug_9367.v new file mode 100644 index 0000000000..885f6bc391 --- /dev/null +++ b/test-suite/bugs/closed/bug_9367.v @@ -0,0 +1,12 @@ +Section foo. +Variable f : forall n : nat, nat. +Arguments f {_}. +Check f (n := 3). +Global Arguments f {bar} : rename. +End foo. + +Section foo. +Variable f : forall n : nat, nat. +Arguments f {_}. +Fail Check f (bar := 3). +End foo. -- cgit v1.2.3