Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asCsv goes into infinite recursion when certain imports are present #30

Closed
klaeufer opened this issue Mar 17, 2016 · 3 comments
Closed
Labels

Comments

@klaeufer
Copy link

This works:

  $ sbt console
  scala> import kantan.csv.ops._
  scala> List(List(1, 2), List(3, 4)).asCsv(',')
  res0: String =
  "1,2
  3,4
  "

This hangs (and hogs the processor):

  $ sbt console
  scala> import kantan.csv.ops._
  scala> import kantan.csv.generic.codecs._
  scala> List(List(1, 2), List(3, 4)).asCsv(',')
@nrinaudo nrinaudo added the bug label Mar 18, 2016
@nrinaudo
Copy link
Owner

I've been able to reproduce this with v0.1.8. On the other hand, some (entirely unrelated) changes I've done on v0.1.9 seem to have fixed the issue.

I'll try and publish a snapshot build of v0.1.9 "soon" (hopefully by tonight, more likely over the weekend). If you have the time, would it be possible for you to make sure that the problem is indeed fixed?

@nrinaudo
Copy link
Owner

Right, a new snapshot of v0.1.9 is now available and should fix your issue. Would it be possible for you to confirm and, if you're happy with the changed, close the issue?

Note that kantan.csv.generic.codecs doesn't exist anymore. Just import kantan.csv.generic._ instead.

@nrinaudo
Copy link
Owner

I'll consider this fixed for now, feel free to reopen if I'm mistaken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants