Skip to content
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

Type alias and higher kinded type cause type mismatch #2201

Closed
olafurpg opened this issue Apr 7, 2017 · 0 comments
Closed

Type alias and higher kinded type cause type mismatch #2201

olafurpg opened this issue Apr 7, 2017 · 0 comments
Assignees

Comments

@olafurpg
Copy link
Contributor

olafurpg commented Apr 7, 2017

Related #2200.

I found one examples with type aliases and higher kinded types where scalac reports no type errors while dotc reports E007 Type mismatch, see eae920a#commitcomment-21672052

I bumped into this error while trying to compile https://github.com/johnynek/paiges with Dotty. The commands I ran were

$ scalac -version
Scala compiler version 2.12.1 -- Copyright 2002-2016, LAMP/EPFL and Lightbend, Inc.
$ scalac tests/pos/packageobjecttypealias/*.scala
$ ./bin/dotc tests/pos/packageobjecttypealias/*.scala 
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

No branches or pull requests

2 participants