Details

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

      Description

      This happens because ClassManifest.Int is a Manifest, despite that type ClassManifest[T] = ClassTag[T].

      Similar problem also plagues <:< (see cannotMatch). ClassManifest.Int <:< ClassTag.Int evaluates to false.

        Activity

        Hide
        Eugene Burmako added a comment -

        problem: ClassManifest.Int != ClassTag.Int
        proposed verdict: not a problem

        problem: ClassManifest.Int !<:< ClassTag.Int
        proposed verdict: not a problem

        problem: ClassTag.Int !<:< ClassTag.AnyVal
        proposed verdict: a genuine problem, needs to be fixed

        Show
        Eugene Burmako added a comment - problem: ClassManifest.Int != ClassTag.Int proposed verdict: not a problem problem: ClassManifest.Int !<:< ClassTag.Int proposed verdict: not a problem problem: ClassTag.Int !<:< ClassTag.AnyVal proposed verdict: a genuine problem, needs to be fixed
        Show
        Eugene Burmako added a comment - https://github.com/scala/scala/pull/1267
        Show
        Eugene Burmako added a comment - https://github.com/scala/scala/commit/d27dc71d676abc62ad9ff64c60bd42516b39ea19

          People

          • Assignee:
            Eugene Burmako
            Reporter:
            Eugene Burmako
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development