diff options
Diffstat (limited to 'bytecomp/translclass.ml')
-rw-r--r-- | bytecomp/translclass.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bytecomp/translclass.ml b/bytecomp/translclass.ml index 81e593950..e379a87af 100644 --- a/bytecomp/translclass.ml +++ b/bytecomp/translclass.ml @@ -322,6 +322,9 @@ let transl_class ids cl_id arity pub_meths cl = let class_stub = Lprim(Pmakeblock(0, Mutable), [lambda_unit; lambda_unit; lambda_unit]) +let dummy_class undef_fn = + Lprim(Pmakeblock(0, Mutable), [undef_fn; undef_fn; oo_prim "dummy_table"]) + (* Error report *) open Format |