Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing types in structure panel after class defn #310

Closed
jfehrle opened this issue Mar 19, 2021 · 3 comments
Closed

Missing types in structure panel after class defn #310

jfehrle opened this issue Mar 19, 2021 · 3 comments
Labels

Comments

@jfehrle
Copy link
Collaborator

jfehrle commented Mar 19, 2021

plugin version: 098-2020,3

Description

The structure panel omits the types errpage, jobpage, breakpoint and session for the following input. Removing the 2 class definitions makes them reappear.

image

class type ['a] page =
  object
    inherit GObj.widget
    method update : 'a -> unit
    method on_update : callback:('a -> unit) -> unit
    method data : 'a
  end

class type control =
  object
    method detach : unit -> unit
  end

type errpage = (int * string) list page
type jobpage = string CString.Map.t page
type breakpoint = {
  file : string;
}

type session = {
  buffer : GText.buffer;
}

let create_buffer () = ()
@giraud
Copy link
Owner

giraud commented Mar 19, 2021

minimum code:

class type control =
  object
    method detach : unit -> unit
  end

type errpage = (int * string) list page

@giraud
Copy link
Owner

giraud commented Mar 30, 2021

Fixed in 0.98.2

@jfehrle
Copy link
Collaborator Author

jfehrle commented Apr 8, 2021

Looks good, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants