odoc icon indicating copy to clipboard operation
odoc copied to clipboard

Incorrect method types in generated documentation

Open zoggy opened this issue 2 years ago • 0 comments

Hello,

method types generated in documentation are incorrect, they include the implicit object parameter.

For example, with the following definition:

class foo =
  object
    method bar = 1
  end

the documentation contains:

method bar : < bar : int.. > -> int

zoggy avatar Sep 29 '22 07:09 zoggy