Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upunapplySeq extractor pattern with tuple type won't compile for the empty Seq #7039
Comments
This comment has been minimized.
This comment has been minimized.
Imported From: https://issues.scala-lang.org/browse/SI-7039?orig=1 |
This comment has been minimized.
This comment has been minimized.
@jrudolph said: |
This comment has been minimized.
This comment has been minimized.
@jrudolph said: |
This comment has been minimized.
This comment has been minimized.
@retronym said: |
This comment has been minimized.
This comment has been minimized.
@adriaanm said: |
scabug
closed this
Feb 5, 2013
scabug
added
critical
patmat
infer
has PR
regression
labels
Apr 7, 2017
scabug
added this to the 2.10.1 milestone
Apr 7, 2017
scabug
assigned
adriaanm
Apr 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scabug commentedJan 29, 2013
fails to compile with this error:
This is a regression from 2.9.2 probably introduced in ee5721e864.
I tried changing this line to
if (productArgs.size == 1) {
(v2.10.x branch) because the check should be done on the type of theunapplySeq
method IMO. However, this then fails later with this exception:so there seems to be a deeper problem.