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

failures freeze entire editor #27

Open
zenspider opened this issue Jul 13, 2019 · 4 comments
Open

failures freeze entire editor #27

zenspider opened this issue Jul 13, 2019 · 4 comments

Comments

@zenspider
Copy link

You're giving the talk, so I CLEARLY don't know what I'm doing yet. I was trying to get into the "free" typing mode, not really coding anything. While trying to do a list, I got to the second item and hit right (I think?) and everything froze as such:

Screen Shot 2019-07-13 at 16 53 37

This was what was in the terminal:

match-define: no matching clause for '(◇ (p/ #hash((depth . 0) (handle . #t) (in-scope . ()) (sort . expr)) (if (p/ #hash((depth . 1) (handle . #t) (in-scope . ()) (sort . expr)) (ref (p/ #hash((depth . 2) (sort . pat)) (id (p/ #hash((depth . 3) (sort . char)) t) (p/ #hash((depth . 3) (s...
  location...:
   src/mode/transform.rkt:839:2
  context...:
   /MyApplications/dev/lisp/Racket/collects/racket/match/runtime.rkt:24:0: match:error
   /Users/ryan/fructure/src/mode/transform.rkt:829:0: menu-filter-in-stx
   /Users/ryan/fructure/src/mode/transform.rkt:17:0: mode:transform
   /Users/ryan/fructure/src/fructure.rkt:211:0
   .../more-scheme.rkt:261:28
   /MyApplications/dev/lisp/Racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /MyApplications/dev/lisp/Racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
   /MyApplications/dev/lisp/Racket/share/pkgs/htdp-lib/2htdp/private/last.rkt:18:4: last method in last-mixin
   "/Users/ryan/fructure/src/fructure.rkt": [running body]
   temp37_0
   for-loop
   run-module-instance!125
   perform-require!78
@zenspider
Copy link
Author

Did it again, with less:

Screen Shot 2019-07-13 at 16 56 08

@disconcision
Copy link
Owner

on it. after-the-fact editing of variadic forms (interacting with +-shaped holes) isn't really implemented. (a (quasi) mode for inserting/deleting/permuting variadic forms element is on the roadmap). I'll plug the hole for the moment but wow looking at quality of the error messages this is generating from an external perspective is making me cringe. i take back 30% of the stuff i said about turnstile's error messages.

@disconcision
Copy link
Owner

p.s. consider installing the recommended font. for some reason the fallthrough font isn't fixed-width, even though this is the supposed behavior of text/font with family set to modern. this is mostly a reminder to myself to look into it.

@tov
Copy link

tov commented Jul 16, 2019

Just came here to say congrats on your project's first outside bug report, and may you have many more :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants