Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upwrong-type-argument when `srefactor-refactor-at-point` #42
Comments
whatacold
changed the title from
rong-type-argument stringp nil when `srefactor-refactor-at-point`
to
wrong-type-argument when `srefactor-refactor-at-point`
Jun 27, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Hi tuhdo, I've fixed this in pr #43 |
whatacold
closed this
Jul 4, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
whatacold commentedJun 27, 2018
•
edited
Hi,
What this package provides is what I desired for some time, it's awesome, thanks for this packages.
So I give it a shot today, but it throws a
wrong-type-argumenterror :(, the backtrace is:I tested it with a C++ class in foo.h with c++-mode enabled:
And I
M-x srefactor-refactor-at-pointwhen point is at{, and select option 2:Generate Function Implementation (Other file).Then the error occurs and somehow
foo.his changed to(foo.cis created but empty, withc-modeas major mode):I tested this with a clean Emacs by running
emacs -Q -l /tmp/clean.el, where/tmp/clean.elis:Emacs version:
GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.19) of 2017-09-15Semantic-Refactor version(seen from
M-x list-packages):20170223.540