This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(library
|
||||
(name ppx_deriving_example)
|
||||
(preprocess
|
||||
(pps ppx_foo_deriver)))
|
||||
|
||||
(alias
|
||||
(package ppxlib)
|
||||
(name runtest)
|
||||
(deps ppx_deriving_example.cma))
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
type t = A [@@deriving_inline foo]
|
||||
|
||||
include struct
|
||||
[@@@ocaml.warning "-60"]
|
||||
|
||||
let _ = fun (_ : t) -> ()
|
||||
|
||||
module Foo = struct end
|
||||
|
||||
let _ =
|
||||
();
|
||||
();
|
||||
[%foo]
|
||||
end [@@ocaml.doc "@inline"]
|
||||
|
||||
[@@@inline.end]
|
||||
Loading…
Add table
Add a link
Reference in a new issue