Skip to content

Demonstration of macro annotation with anonymous inner class that causes an assertion failure in Typer

Notifications You must be signed in to change notification settings

jeffrey-aguilera/bug-scalamacros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project bug-scalamacros

This project demonstrates a Typers.scala assertion error with a quasiquote generated inner class.

  • sbt compile --- compiles macro
  • sbt test:compile --- attempts compilation of object annotated with macro

The problem has been reproduced for Scala 2.11.7 and 2.12.0-M3 generating 1.7 and 1.8 bytecode. For Scala 2.11.7, the assertion fails on Typers.scala:1759; and for Scala 2.12.0-M3, it fails on Typers.scala:1748.

About

Demonstration of macro annotation with anonymous inner class that causes an assertion failure in Typer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages