Skip to content

Position not set for Ident(<error>) #5032

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

Closed
sir-wabbit opened this issue Aug 26, 2018 · 0 comments
Closed

Position not set for Ident(<error>) #5032

sir-wabbit opened this issue Aug 26, 2018 · 0 comments

Comments

@sir-wabbit
Copy link

class i1@
Exception in thread "main" java.lang.AssertionError: assertion failed: position not set for Ident(<error>) # 10
	at dotty.DottyPredef$.assertFail(DottyPredef.scala:38)
	at dotty.tools.dotc.typer.Typer$.assertPositioned(Typer.scala:63)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1899)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1912)
	at dotty.tools.dotc.typer.Namer.typedAheadType$$anonfun$1(Namer.scala:969)
	at dotty.tools.dotc.typer.Namer.typedAheadImpl(Namer.scala:962)
	at dotty.tools.dotc.typer.Namer.typedAheadType(Namer.scala:969)
	at dotty.tools.dotc.typer.Namer.typedAheadAnnotationClass(Namer.scala:981)
	at dotty.tools.dotc.typer.Namer.typedAheadAnnotationClass(Namer.scala:980)
	at dotty.tools.dotc.typer.Namer.typedAheadAnnotationClass(Namer.scala:978)
	at dotty.tools.dotc.typer.Namer$Completer.addAnnotations$$anonfun$1(Namer.scala:753)
	at scala.compat.java8.JProcedure1.apply(JProcedure1.java:18)

AE-9fea5208d12255332071a58be4afc5275b9e8d64

odersky added a commit that referenced this issue Jan 23, 2019
Fix #5032: Make sure that erroneous empty idents have a position
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

3 participants