Merge pull request #370 from asarhaddon/hide-gensym-counter
[jackhill/mal.git] / scala / step9_try.scala
index 068a43d..cc997bb 100644 (file)
@@ -126,6 +126,7 @@ object step9_try {
           return EVAL(a1, env)
         } catch {
           case t: Throwable => {
+            if (rest.length == 0) throw t
             rest(0).asInstanceOf[MalList].value match {
               case List(Symbol("catch*"), a21, a22) => {
                 val exc: Any = t match {