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

(error "SafeList") #61

Open
lgastako opened this issue Jun 29, 2017 · 0 comments
Open

(error "SafeList") #61

lgastako opened this issue Jun 29, 2017 · 0 comments

Comments

@lgastako
Copy link

lgastako commented Jun 29, 2017

I am trying to get HaRe set up in emacs and when I try to rename a local variable it asks what new name I want to use, then prints something like this in the minibuffer:

[1 of 5]
RefSet

I tried running ghc-hare --version as the README suggets, and I get an error, but it does also show the version:

% ghc-hare --version
unrecognized option `--version'

ghc-hare version 0.8.2.1
Usage:
	 ghc-hare demote [-g GHC_opt1 -g GHC_opt2 ...] filename line col
	 ghc-hare dupdef [-g GHC_opt1 -g GHC_opt2 ...] filename newname line col
	 ghc-hare iftocase [-g GHC_opt1 -g GHC_opt2 ...] filename startline startcol endline endcol
	 ghc-hare liftOneLevel [-g GHC_opt1 -g GHC_opt2 ...] filename line col
	 ghc-hare liftToTopLevel [-g GHC_opt1 -g GHC_opt2 ...] filename line col
	 ghc-hare rename [-g GHC_opt1 -g GHC_opt2 ...] filename newname line col
	 ghc-hare help

  -v  --verbose  debug logging on

So I tried manually running it on a file and I get:

% ghc-hare rename src/Focus/Wheatley/DSL/Subs/BlobSearch.hs 29 39
(error "SafeList")

I searched for occurences of SafeList in the HaRe source but came up empty handed so I'm a bit stumped as to how to proceed.

Any guidance would be appreciated, as HaRe looks awesome!

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