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

Ensure that argument passed to idris-repl-insert-result is a string #621

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

keram
Copy link
Contributor

@keram keram commented May 7, 2023

Why:
Interpreting command :load "Foo.idr" produces output (:ok nil) from Idris.
This leads to error (wrong-type-argument char-or-string-p nil)

Fixes #620

This PR also includes additional minor fixes for issues discovered in the process of fixing the #620

keram added 4 commits May 7, 2023 15:15
not adding space between line number and expression in *xref* buffer
Why:
Interpreting command `:load "Foo.idr"` produces output `(:ok nil)` from Idris.
This leads to error `(wrong-type-argument char-or-string-p nil)`
Fixes idris-hackers#620
Seems like the output formatting was updated from the time the `warning`
handling in `idris-repl-event-hook-function` was introduced.
```
Error: custom-declare-variable *** docstring
has wrong usage of unescaped single quotes (use \= or different quoting)
```
Introduced probably in Emacs 29
@jfdm jfdm merged commit 37c6b81 into idris-hackers:main Aug 2, 2023
@keram keram deleted the issue-620 branch July 4, 2024 20:49
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

Successfully merging this pull request may close these issues.

Loading file in REPL fails: wrong-type-argument
2 participants