Skip to content
An example SBT project which uses macro paradise (Scala 2.10/2.11 with the macro paradise plugin, SBT 0.13)
Scala
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of scalamacros:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core/src/main/scala
macros/src/main/scala
project
.gitignore
README.md
build.sbt

README.md

A project modified from the Macro Paradise Example to demonstrate issue of reading class member annotations during macro expension

The macro expends a companion object based on the annotations added to the class.

When run with Scala 2.11.12, sbt run returns the following

[info] Running Test 
john: Sad
lisa: Happy, Laugh
ben: 

However, when running with Scala 2.12.10, sbt run returns the following

[info] Running Test 
john: 
lisa: 
ben:
You can’t perform that action at this time.