satyr / coco

Unfancy CoffeeScript
http://satyr.github.com/coco/
MIT License
498 stars 48 forks source link

REPL doesn't store state #212

Open utkarshkukreti opened 11 years ago

utkarshkukreti commented 11 years ago

Am I missing something obvious here?

➜  node -v
v0.8.22
➜  coco -v
Coco 0.9.1
➜  coco -i
coco> a = 10
10
coco> a
ReferenceError: a is not defined
coco> a = 10; a
10
coco> a
ReferenceError: a is not defined
coco>
➜  coffee -v
CoffeeScript version 1.6.1
➜  coffee
coffee> a = 10
10
coffee> a
10
coffee> a = 10; a
10
coffee> a
10
vendethiel commented 11 years ago

145. Coco's REPL just doesnt have --bare implied

utkarshkukreti commented 11 years ago

Oh well, I think this warning should definitely be present somewhere obvious then.