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 messages and newlines #15

Open
rfindler opened this issue Nov 29, 2020 · 1 comment
Open

Error messages and newlines #15

rfindler opened this issue Nov 29, 2020 · 1 comment

Comments

@rfindler
Copy link
Member

It looks like xrepl isn't printing a newline before [, bt for context] in some cases:

In this transcript the first interaction is missing a newline, but it isn't missing in the second one.

Welcome to Racket v7.9.0.9 [cs].
> (error 'hi "there")
; hi: there [,bt for context]
> (car #f)
; car: contract violation
;   expected: pair?
;   given: #f
; [,bt for context]
> 
@rfindler
Copy link
Member Author

Well, judging from this line of code, the difference here may be intentional. If so, that's okay with me, but I did find it confusing to not see the familiar ",bt..." message (and then noticed it was in a different place).

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