Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Resolves #4438.

On Scala version 2.13.0 and 2.13.1 Chunk#head throws a NoSuchMethodError from scala.collection.IndexedSeqOps. This issue does not occur on later Scala versions and also seems to be quite specific (e.g. last works fine). We may have users who are stuck on various Scala versions because of other dependencies so I think it makes sense to address this if possible. We can do so by just reimplementing head ourselves in terms of apply.

@adamgfraser adamgfraser merged commit 14aa612 into zio:master Nov 24, 2020
@adamgfraser adamgfraser deleted the 4438 branch November 26, 2020 07:06
atooni pushed a commit to blended-zio/zio that referenced this pull request Dec 1, 2020
…llections Library (zio#4441)

* implement head

* remove final modifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chunk.head throws NoSuchMethodException

2 participants