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
@specialize Iterator => crash. #4123
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4123?orig=1 |
@dragos said: |
Jesse Eichar (jesseeichar) said: trait Iter[@specialized(Byte) +A] extends Iterator[A] { class ByteIter extends Iter[Byte] { Message and top of stack trace is: error: java.lang.UnsupportedOperationException: tail of empty list just compile the above code with scalac to see full trace |
Been seeing what I can @Specialize in the library without undue difficulty.
Successes: Option, PartialFunction, List, Numeric, Ordering.
Failure:
Paging Dr. Agos, Dr. Agos to the OR!
The text was updated successfully, but these errors were encountered: