Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
incorrect arity on primitives causes assertion failure #7846
Original bug ID: 7846
external cmp : 'a -> 'nt = "%compare";;
File "/tmp/a.ml", line 4, characters 44-45:
Comment author: @nojb
Thanks, could reproduce.
As a general rule, externals with %-primitives is an undocumented feature intended for compiler use only, so there are no guarantees if one is not careful.