Skip to content

typing deviation: expected type ignored when typing array #647

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

Closed
DarkDimius opened this issue Jun 15, 2015 · 0 comments
Closed

typing deviation: expected type ignored when typing array #647

DarkDimius opened this issue Jun 15, 2015 · 0 comments

Comments

@DarkDimius
Copy link
Contributor

[info] /Users/dark/workspace/dotty/tests/partest-generated/run/arrayclone-new.scala:31: error: type mismatch:
[info]  found   : Array[Int]
[info]  required: Array[Byte]
[info]   val it : Array[Byte] = Array(1, 0);
odersky added a commit that referenced this issue Jun 19, 2015
…rloading

Take expected result type into account for overloading resolution
@odersky odersky closed this as completed Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants