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

Unsupported CachedThisType #319

Closed
pshirshov opened this issue Aug 26, 2022 · 0 comments
Closed

Unsupported CachedThisType #319

pshirshov opened this issue Aug 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed scala3

Comments

@pshirshov
Copy link
Member

The following snippet fails on dotty:

class InnerTagFixture {
  trait Make[T] {
    final def from[I <: T : Tag](function: => I): Unit = {

    }
  }
  class InnerTagIssue  {
    new Make[InnerTagIssue.this.type] {
      from(InnerTagIssue.this: InnerTagIssue.this.type)
    }
  }
}
@pshirshov pshirshov added bug Something isn't working help wanted Extra attention is needed scala3 labels Aug 26, 2022
@pshirshov pshirshov self-assigned this Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed scala3
Projects
None yet
Development

No branches or pull requests

1 participant