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

Items missing in structure panel after let ending with match #340

Closed
jfehrle opened this issue Aug 20, 2021 · 1 comment
Closed

Items missing in structure panel after let ending with match #340

jfehrle opened this issue Aug 20, 2021 · 1 comment

Comments

@jfehrle
Copy link
Collaborator

jfehrle commented Aug 20, 2021

plugin version: 0.102-2021.1

Any definitions after needs_quote don't appear in the structure panel.

image

let needs_quote s i =
  match CString.index_from_opt s i ' ', CString.index_from_opt s i '\'' with
  | Some _, None -> true
  | Some i, Some j -> i < j
  | _ -> false

let encode_string s = ()
giraud added a commit that referenced this issue Aug 24, 2021
@giraud
Copy link
Owner

giraud commented Aug 26, 2021

fixed in 0.102.2

@giraud giraud closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants