@@ -136,7 +136,7 @@ let mkmty ?attrs d = Mty.mk ~loc:(symbol_rloc()) ?attrs d
136
136
let mksig d = Sig.mk ~loc:(symbol_rloc()) d
137
137
let mkmod ?attrs d = Mod.mk ~loc:(symbol_rloc()) ?attrs d
138
138
let mkstr d = Str.mk ~loc:(symbol_rloc()) d
139
- let mkcty ?attrs d = Cty.mk ~loc:(symbol_rloc()) ? attrs d
139
+ let mkcty ?attrs _d = let _ = attrs in assert false
140
140
let mkctf ?attrs ?docs _d = let _ = (attrs, docs) in assert false
141
141
let mkcf ?attrs ?docs _d = let _ = (attrs, docs) in assert false
142
142
@@ -319,8 +319,7 @@ let wrap_pat_attrs pat (ext, attrs) =
319
319
let mkpat_attrs d attrs =
320
320
wrap_pat_attrs (mkpat d) attrs
321
321
322
- let wrap_class_type_attrs body attrs =
323
- {body with pcty_attributes = attrs @ body.pcty_attributes}
322
+ let wrap_class_type_attrs _body _attrs = assert false
324
323
let wrap_mod_attrs body attrs =
325
324
{body with pmod_attributes = attrs @ body.pmod_attributes}
326
325
let wrap_mty_attrs body attrs =
@@ -7394,22 +7393,22 @@ let yyact = [|
7394
7393
let _4 = (Parsing.peek_val __caml_parser_env 0 : 'clty_longident) in
7395
7394
Obj.repr(
7396
7395
# 965 "ml/parser.mly"
7397
- ( mkcty(Pcty_constr (mkloc _4 (rhs_loc 4), List.rev _2) ) )
7396
+ ( mkcty(assert false ) )
7398
7397
# 7403 "ml/parser.ml"
7399
7398
: 'class_signature))
7400
7399
; (fun __caml_parser_env ->
7401
7400
let _1 = (Parsing.peek_val __caml_parser_env 0 : 'clty_longident) in
7402
7401
Obj.repr(
7403
7402
# 967 "ml/parser.mly"
7404
- ( mkcty(Pcty_constr (mkrhs _1 1, []) ) )
7403
+ ( mkcty(assert false ) )
7405
7404
# 7410 "ml/parser.ml"
7406
7405
: 'class_signature))
7407
7406
; (fun __caml_parser_env ->
7408
7407
let _2 = (Parsing.peek_val __caml_parser_env 2 : 'attributes) in
7409
7408
let _3 = (Parsing.peek_val __caml_parser_env 1 : 'class_sig_body) in
7410
7409
Obj.repr(
7411
7410
# 969 "ml/parser.mly"
7412
- ( mkcty ~attrs:_2 (Pcty_signature _3 ) )
7411
+ ( mkcty ~attrs:_2 (assert false ) )
7413
7412
# 7418 "ml/parser.ml"
7414
7413
: 'class_signature))
7415
7414
; (fun __caml_parser_env ->
@@ -7425,14 +7424,14 @@ let yyact = [|
7425
7424
let _2 = (Parsing.peek_val __caml_parser_env 0 : 'attribute) in
7426
7425
Obj.repr(
7427
7426
# 973 "ml/parser.mly"
7428
- ( Cty.attr _1 _2 )
7427
+ ( assert false )
7429
7428
# 7434 "ml/parser.ml"
7430
7429
: 'class_signature))
7431
7430
; (fun __caml_parser_env ->
7432
7431
let _1 = (Parsing.peek_val __caml_parser_env 0 : 'extension) in
7433
7432
Obj.repr(
7434
7433
# 975 "ml/parser.mly"
7435
- ( mkcty(Pcty_extension _1 ) )
7434
+ ( mkcty(assert false ) )
7436
7435
# 7441 "ml/parser.ml"
7437
7436
: 'class_signature))
7438
7437
; (fun __caml_parser_env ->
@@ -7442,7 +7441,7 @@ let yyact = [|
7442
7441
let _7 = (Parsing.peek_val __caml_parser_env 0 : 'class_signature) in
7443
7442
Obj.repr(
7444
7443
# 977 "ml/parser.mly"
7445
- ( wrap_class_type_attrs (mkcty(Pcty_open(_3, mkrhs _5 5, _7) )) _4 )
7444
+ ( wrap_class_type_attrs (mkcty(assert false )) _4 )
7446
7445
# 7451 "ml/parser.ml"
7447
7446
: 'class_signature))
7448
7447
; (fun __caml_parser_env ->
0 commit comments