aboutsummaryrefslogtreecommitdiff
path: root/interp/impargs.ml
diff options
context:
space:
mode:
authorSimonBoulier2020-01-08 10:20:20 +0100
committerSimonBoulier2020-01-08 10:20:20 +0100
commit9cbd740cd7e8936a9411528fc5dd4d5ddb0d3c1d (patch)
tree514fff0539a5d9aa291fe88889d5e13c21cdba62 /interp/impargs.ml
parentbb22f188b46527fb5829562edc946b743b326309 (diff)
Trailing implicit: Maxime's suggestions
Diffstat (limited to 'interp/impargs.ml')
-rw-r--r--interp/impargs.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/interp/impargs.ml b/interp/impargs.ml
index b22407c2b7..e2c732809a 100644
--- a/interp/impargs.ml
+++ b/interp/impargs.ml
@@ -646,7 +646,6 @@ let maybe_declare_manual_implicits local ref ?enriching l =
if List.exists (fun x -> x.CAst.v <> None) l then
declare_manual_implicits local ref ?enriching l
-(* TODO: either turn these warnings on and document them, or handle these cases sensibly *)
let msg_trailing_implicit id =
user_err (strbrk ("Argument " ^ Names.Id.to_string id ^ " is a trailing implicit, so it can't be declared non maximal. Please use { } instead of [ ]."))