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

ocp-grep: Stack overflow at the end of search #157

Open
HyunggyuJang opened this issue Apr 15, 2022 · 0 comments
Open

ocp-grep: Stack overflow at the end of search #157

HyunggyuJang opened this issue Apr 15, 2022 · 0 comments

Comments

@HyunggyuJang
Copy link

HyunggyuJang commented Apr 15, 2022

I’m experimenting your marvelous tool, ocp-grep since merlin doesn’t support project wide occurrences search

But, after (seemingly) successful retrieving, it dies with an error message of

ocp-grep: internal error, uncaught exception:  
          Stack overflow  

Steps to reproduce

  1. Clone https://github.com/ocaml/ocaml

  2. In cloned folder, type

    ocp-grep Path.constructor_typath
  3. It will spit

    ocaml ❯ ocp-grep Path.constructor_typath
    typing/path.ml:112:let constructor_typath = function
    typing/path.ml:120:  match constructor_typath p with
    typing/subst.ml:124:  match Path.constructor_typath p with
    typing/path.mli:48:val constructor_typath: t -> typath
    typing/env.ml:1142:  match Path.constructor_typath path with
    ocp-grep: internal error, uncaught exception:
              Stack overflow

Environment: Mac air 2020 m1 Monterey 12.3.1.

Thanks for your help!

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

1 participant