Skip to content

Silence unchecked warning #66

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
wants to merge 1 commit into from
Closed

Conversation

retronym
Copy link
Member

Was:

[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/printing/PlainPrinter.scala:107: non-variable type argument dotty.tools.dotc.core.Types.RefinedType in type pattern List[dotty.tools.dotc.core.Types.RefinedType] is unchecked since it is eliminated by erasure
[warn]         val parent :: (refined: List[RefinedType]) =
[warn]                                 ^

Was:

    [warn] /Users/jason/code/dotty/src/dotty/tools/dotc/printing/PlainPrinter.scala:107: non-variable type argument dotty.tools.dotc.core.Types.RefinedType in type pattern List[dotty.tools.dotc.core.Types.RefinedType] is unchecked since it is eliminated by erasure
    [warn]         val parent :: (refined: List[RefinedType]) =
    [warn]                                 ^
@odersky
Copy link
Contributor

odersky commented Mar 14, 2014

This uncovered a problem with Dotty's treatment of annotations (actually, two problems). I'll integrate in a new pullrequest that fixes the problems.

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

Successfully merging this pull request may close these issues.

2 participants