-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update project #13
base: master
Are you sure you want to change the base?
Update project #13
Conversation
This doesn't compile with updated dependencies. Something caused by changes in |
type Output <: AnyDataSet | ||
// FIXME: this is supposed to be the same: | ||
// type Output <: AnyDataSet // = AnyRecordType.Of[AnyData] | ||
type Output <: AnyRecordType { type Keys <: AnyProductType { type Types <: AnyKList { type Bound <: AnyData } } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why it doesn't compile with AnyDataSet
, which is AnyRecordType.Of[AnyData]
, which is supposed to be the same as the last line (which makes it compile):
case object AnyRecordType {
type Of[+B <: AnyType] = AnyRecordType { type Keys <: AnyProductType.Of[B] }
}
case object AnyProductType {
type Of[+B <: AnyType] = AnyProductType { type Types <: AnyKList.Of[B] }
}
case object AnyKList {
type Of[+B] = AnyKList { type Bound <: B }
}
@eparejatobes any clue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a lot of issues with inference and aliasing. A sample:
- Type inference does not dealias type constructors enough to infer type arguments scala/bug#8709
- Type aliases with return type inference works bad scala/bug#8740
- Flakey implicit resolution with type alias Id[A] = A scala/bug#10238
- implicit resolution error for Aux pattern with parametrized type scala/bug#10528
- Can't prove equality between syntactically equal type aliases to an existential type scala/bug#10556
- ...
OK, So I'm going to leave here this unfolded refined type and hope that it doesn't break anything dependent on it. I think these |
No description provided.