aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsing/termast.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/termast.ml b/parsing/termast.ml
index 026e79324a..5b0675d979 100644
--- a/parsing/termast.ml
+++ b/parsing/termast.ml
@@ -160,7 +160,8 @@ let ast_of_app impl f args =
if !print_implicits & not !print_implicits_explicit_args then
ope("APPLISTEXPL", f::args)
else
- ope("APPLIST", f::(explicitize impl args))
+ let args = explicitize impl args in
+ if args = [] then f else ope("APPLIST", f::args)
let rec ast_of_raw = function
| RRef (_,ref) -> ast_of_ref ref