Skip to content

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

Open
@HyunggyuJang

Description

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!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions