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

(another) compiler crash "typeConstructor inapplicable for <none>"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.10.0
    • Component/s: None
    • Labels:
      None

      Description

      object test {
        trait Step[F[_]] {
          // crash: typeConstructor inapplicable for <none>
          this match {
            case S1() =>
          }
        }
        case class S1[F[_]]() extends Step[F]
      
        // okay
        (null: Step[Option]) match {
          case S1() =>
        }
      }
      

        Issue Links

          Activity

          Hide
          Paul Phillips added a comment -

          Fixed in cdd4aac981 . I'm hopeful that'll fix unknown other things too, but then, I always am.

          Show
          Paul Phillips added a comment - Fixed in cdd4aac981 . I'm hopeful that'll fix unknown other things too, but then, I always am.

            People

            • Assignee:
              Paul Phillips
              Reporter:
              Jason Zaugg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development