Scala Programming Language
  1. Scala Programming Language
  2. SI-5764

-language:_ doesn't disable feature warnings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.10.0-M6
    • Component/s: Misc Compiler
    • Labels:
      None

      Description

      Providing the option -language:_ should disable feature warnings as described in SIP-18, but it doesn't.

      import language._ works fine, however.

      $ scala -language:_
      scala> scala> def x[M[_]] = 3
      warning: there were 1 feature warnings; re-run with -feature for details
      x: [M[_]]=> Int
      
      scala> import language._
      import language._
      
      scala> def x[M[_]] = 3
      x: [M[_]]=> Int
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Martin Odersky
              Reporter:
              Mark Harrah
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development