Skip to content
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

"Missing parameter type" error gets silently discarded #6214

Closed
scabug opened this issue Aug 10, 2012 · 5 comments
Closed

"Missing parameter type" error gets silently discarded #6214

scabug opened this issue Aug 10, 2012 · 5 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Aug 10, 2012

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.

@scabug
Copy link
Author

scabug commented Aug 10, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6214?orig=1
Reporter: Naftoli Gugenheim (naftoligug)
Affected Versions: 2.10.0-M2

@scabug
Copy link
Author

scabug commented Aug 10, 2012

Naftoli Gugenheim (naftoligug) said:
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

@scabug
Copy link
Author

scabug commented Aug 10, 2012

Naftoli Gugenheim (naftoligug) said:
Never mind, it's not connected to the crash.

@scabug
Copy link
Author

scabug commented Aug 10, 2012

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

@scabug
Copy link
Author

scabug commented Aug 13, 2012

@hubertp said:
scala/scala#1125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants