Skip to content

('a', 98): (Char, Char) fails type checking the _2 #1366

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
nicolasstucki opened this issue Jul 8, 2016 · 0 comments
Closed

('a', 98): (Char, Char) fails type checking the _2 #1366

nicolasstucki opened this issue Jul 8, 2016 · 0 comments

Comments

@nicolasstucki
Copy link
Contributor

dotty> ('a', 98): (Char, Char) 
     ^
('a', 98): (Char, Char)
<console>:5: error: type mismatch:
 found   : Int(98)
 required: T2
scalac> ('a', 98): (Char, Char) 
res4: (Char, Char) = (a,b)
odersky added a commit to dotty-staging/dotty that referenced this issue Jul 8, 2016
Fix: scala#1366. Constant adaptation did not work if the
expected type was an as yet uninstantiated type variable.
odersky added a commit to dotty-staging/dotty that referenced this issue Jul 8, 2016
Fix: scala#1366. Constant adaptation did not work if the
expected type was an as yet uninstantiated type variable.
odersky added a commit to dotty-staging/dotty that referenced this issue Jul 8, 2016
nicolasstucki added a commit that referenced this issue Jul 11, 2016
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

1 participant