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

extra ) or } ends parse without parse error #469

Closed
aryairani opened this issue Apr 21, 2019 · 1 comment
Closed

extra ) or } ends parse without parse error #469

aryairani opened this issue Apr 21, 2019 · 1 comment
Milestone

Comments

@aryairani
Copy link
Contributor

)

x = 3
master> 
  I reloaded /Users/arya/unison/scratch.u and didn't find anything.

Not a big problem here, but gives confusing results in real-er code:

id a = a
> id == id
> (id (id id)) == id
> (id (id id))) == id
  ┌
  │  ✅
  │  
  │  I found and typechecked these definitions in /Users/arya/unison/scratch.u:
  │  
  │    id : a -> a
  │  
  │  Now evaluating any watch expressions (lines starting with `>`)...
  └

  ┌
  │  3 | > id == id
  │        ⧩
  │        true
  └
  ┌
  │  4 | > (id (id id)) == id
  │        ⧩
  │        true
  └
  ┌
  │  5 | > (id (id id))) == id
  │        ⧩
  │        a -> a       --- why????
  └
@pchiusano pchiusano added this to the M1 milestone Apr 26, 2019
@pchiusano
Copy link
Member

Here's what you get now for this file -

Screen Shot 2019-04-26 at 4 40 59 PM

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

2 participants