[ 
https://issues.apache.org/jira/browse/CRUNCH-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom White updated CRUNCH-561:
-----------------------------
    Attachment: CRUNCH-561.patch

Attaching a patch written by [~sowen], which fixes the issue for me when I try 
it manually. I also had to run the following in the REPL, to workaround [a 
problem with calling getSimpleName() on Scala classes defined in the 
REPL|https://issues.scala-lang.org/browse/SI-8110]: 

{noformat}
intp.isettings.unwrapStrings = false
{noformat}

Not sure how to add a unit test for the REPL, but the existing test for case 
classes still passes.



> Scrunch case classes fail in the REPL
> -------------------------------------
>
>                 Key: CRUNCH-561
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-561
>             Project: Crunch
>          Issue Type: Bug
>          Components: Scrunch
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Attachments: CRUNCH-561.patch
>
>
> Calling {{Avros.caseClasses[MyReplClass]}} where {{MyReplClass}} was defined 
> in the REPL throws a {{ClassNotFoundException}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to