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

class C[A]; new ({type T[A] = C[A]})#T[Int] blows up in refchecks #7194

Open
scabug opened this issue Feb 28, 2013 · 1 comment
Open

class C[A]; new ({type T[A] = C[A]})#T[Int] blows up in refchecks #7194

scabug opened this issue Feb 28, 2013 · 1 comment

Comments

@scabug
Copy link

scabug commented Feb 28, 2013

scala> class C[A]; new ({type T[A] = C[A]})#T[Int]

adapt should have turned dc: TypeTreeWithDeferredRefCheck into tpt: TypeTree, with tpt.original == dc
	at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:49)
	at scala.tools.nsc.Global.abort(Global.scala:253)
	at scala.tools.nsc.interpreter.IMain$$anon$1.scala$tools$nsc$interpreter$ReplGlobal$$super$abort(IMain.scala:265)
	at scala.tools.nsc.interpreter.ReplGlobal$class.abort(ReplGlobal.scala:21)
	at scala.tools.nsc.interpreter.IMain$$anon$1.abort(IMain.scala:265)
	at scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:1696)
	at scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:96)

Stumbled across this trying to poke holes in scala/scala@e5da30b843. But this is an older issue.

@scabug
Copy link
Author

scabug commented Feb 28, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7194?orig=1
Reporter: @retronym
Affected Versions: 2.10.0

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