Open
Description
description
Crashes when processing a curried case class.
Why on earth should I want to define a case class in such a way?
(see http://www.alessandrolacava.com/blog/scala-case-classes-in-depth/)
Don't know, perhaps just improving the error message for this corner case would be a nice improvement.
how to reproduce
Trying to process the following case class:
case class Curried(a: A)(b: B)
it prints the following and crashes:
J=Tl().$h.Go,V=Tl().$h.Ho,ia=Tl().$h.Zo,ba=Tl().$h.$o,la=Tl().$h.Io,Z=Tl().$h.Jo,aa=Tl().$h.ap,Ga=Tl().$h.bp,Ka=Tl().$h.Lo,Na=Tl().$h.ao,Qa=Tl().$h.bo,Ua=Tl().$h.So,ab=Tl().$h.To,La=Tl().$h.ho,db=Tl().$h.io;Tl();var Ra=Ul(new Vl,z,!0,E,J,V,ia,ba,la,Z,aa,Ga,Ka,Na,Qa,Ua,ab,La,db),Ta=da.JSON;Wl();var lb=Oca((new Xl).Cz(e)),Sb=(new Ll).Lc(Ml(function(a,b){return function(){return b}}(c,lb))).xc();return Ta.parse(Pca(Ra,Yl(Sb,u)))}catch(mb){a=Pj(Qj(),mb);if(null!==a){c=Zl($l(),a);if(!c.n())throw a=c.p(),
def this(a: A)(b: B) (of class scala.meta.Ctor$Primary$CtorPrimaryImpl)
error Command failed with exit code 1.