From ba63f39be8e26e04e94d1db7fcc534ad5f732871 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Tue, 11 Sep 2018 10:23:02 +0200 Subject: Revert #6651: Use r.(p) syntax to print primitive projections Fixes #6764: Printing Notation regressed compared to 8.7 --- interp/constrextern.ml | 3 --- 1 file changed, 3 deletions(-) (limited to 'interp/constrextern.ml') diff --git a/interp/constrextern.ml b/interp/constrextern.ml index 3996a1756c..98e1f6dd36 100644 --- a/interp/constrextern.ml +++ b/interp/constrextern.ml @@ -958,9 +958,6 @@ let rec extern inctx scopes vars r = | GCast (c, c') -> CCast (sub_extern true scopes vars c, map_cast_type (extern_typ scopes vars) c') - | GProj (p, c) -> - let pr = extern_reference ?loc Id.Set.empty (ConstRef (Projection.constant p)) in - CProj (pr, sub_extern inctx scopes vars c) in insert_coercion coercion (CAst.make ?loc c) -- cgit v1.2.3