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

"Missing parameter type" error gets silently discarded

    Details

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

      Description

      object Test {
        def m(f: String => Unit) = 0
        def m(f: Int => Unit) = 0
        def foo {
        	m { s => case class C }
        }
      }
      

      Crashes in superaccessors due to ErrorType.

        Issue Links

          Activity

          Hide
          Naftoli Gugenheim added a comment -
          Show
          Naftoli Gugenheim added a comment - I suspect this the indirect cause of one of the crashes in https://scala-internals.googlegroups.com/attach/6ebcb66ba3a69327/scalac-crash2.txt?pli=1&view=1&part=4
          Hide
          Naftoli Gugenheim added a comment -

          Never mind, it's not connected to the crash.

          Show
          Naftoli Gugenheim added a comment - Never mind, it's not connected to the crash.
          Hide
          Hubert Plociniczak added a comment -

          Note to the reporter: if REPL is not needed don't use it in the bug report. And use code formatting.

          Show
          Hubert Plociniczak added a comment - Note to the reporter: if REPL is not needed don't use it in the bug report. And use code formatting.
          Show
          Hubert Plociniczak added a comment - https://github.com/scala/scala/pull/1125

            People

            • Assignee:
              Hubert Plociniczak
              Reporter:
              Naftoli Gugenheim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development