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

Can't fix typos? #139

Closed
rparree opened this Issue Aug 5, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@rparree

rparree commented Aug 5, 2015

Hi,

This looks most likely like some environment problem, but when i made a typo:

@ class Foo {
    val v = "
  }
SyntaxError: found "\n}", expected "\"" | StringChars | Interp | LiteralSlash | Escape | NonStringEnd in
  val v = "

I can't go up and fix it. When i go up, the last successful command in my history shows up. I was surprised not to find an issue, so assume it is a problem on my end. I am running Ubuntu 15.04

Note: when installing using curl, i got an error saying /home/me/.ammonite/predef.scala did not exist. I created an empty file and that made it run. Not sure if related.

@lihaoyi

This comment has been minimized.

Owner

lihaoyi commented Aug 5, 2015

The curl problem was me botching the release process; i just released 0.4.1
and it should work now (lol)

The inability to fix typos is different, and I kinda know what's causing
it. Want to open an issue on github? I'll bundle it with the next round of
fixes

On Wed, Aug 5, 2015 at 5:13 PM, Raphael Parree notifications@github.com
wrote:

Hi,

This looks most likely like some environment problem, but when i made a
typo:

@ class Foo {
val v = " }SyntaxError: found "\n}", expected """ | StringChars | Interp | LiteralSlash | Escape | NonStringEnd in
val v = "

I can't go up and fix it. When i go up, the last successful command in my
history shows up. I was surprised not to find an issue, so assume it is a
problem on my end. I am running Ubuntu 15.04

Note: when installing using curl, i got an error saying
/home/me/.ammonite/predef.scala did not exist. I created an empty file
and that made it run. Not sure if related.


Reply to this email directly or view it on GitHub
#139.

@rparree

This comment has been minimized.

rparree commented Aug 5, 2015

Ok, just mentioned it as it might have been related.

Not sure what you meant when you wrote:

" Want to open an issue on github?"

Is this #139 not an issue? Sorry if i misunderstood.

@lihaoyi

This comment has been minimized.

Owner

lihaoyi commented Aug 5, 2015

Is this #139 not an issue? Sorry if i misunderstood.

Oops, it was I who misunderstood. I saw it in my email and thought it was an email. This is fine =D

@rparree

This comment has been minimized.

rparree commented Aug 5, 2015

you are fast ;) Downloaded the 0.4.2 release from github and i am able to go up and edit a typo.

@lihaoyi

This comment has been minimized.

Owner

lihaoyi commented Aug 5, 2015

=)

@lihaoyi lihaoyi closed this Aug 5, 2015

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