munificent/magpie — Issue #15: Exception throws you out of REPL
Author: krainboltgreene
Created: 2012-03-07 05:16:15+00:00
State: open

``` bash
$ ./magpie

_/Oo>
/__/ magpie v0.0.0
____//hh___________________
//

Type 'quit()' and press to exit.
> val points = x: 1, y: 2
= x: 1, y: 2
> x: _ = points
Exception in thread "main" com.stuffwithstuff.magpie.util.NotImplementedException: Destructuring is only implemented on new vars for now.
at com.stuffwithstuff.magpie.parser.ConvertAssignmentExpr.visit(ConvertAssignmentExpr.java:108)
at com.stuffwithstuff.magpie.parser.ConvertAssignmentExpr.visit(ConvertAssignmentExpr.java:12)
at com.stuffwithstuff.magpie.ast.RecordExpr.accept(RecordExpr.java:24)
at com.stuffwithstuff.magpie.parser.ConvertAssignmentExpr.convert(ConvertAssignmentExpr.java:16)
at com.stuffwithstuff.magpie.parser.EqualsParser.parse(EqualsParser.java:10)
at com.stuffwithstuff.magpie.parser.MagpieParser.parseInfix(MagpieParser.java:92)
at com.stuffwithstuff.magpie.parser.MagpieParser.parsePrecedence(MagpieParser.java:85)
at com.stuffwithstuff.magpie.parser.MagpieParser.parseExpression(MagpieParser.java:68)
at com.stuffwithstuff.magpie.parser.MagpieParser.parseStatement(MagpieParser.java:64)
at com.stuffwithstuff.magpie.Repl.readAndEvaluate(Repl.java:20)
at com.stuffwithstuff.magpie.app.ConsoleRepl.run(ConsoleRepl.java:31)
at com.stuffwithstuff.magpie.app.MagpieApp.main(MagpieApp.java:38)
$
```