playframework/playframework — pull request #2928 by darabos (2014-05-23 13:05:45+00:00)
Title: Fix Json.writes[X] so that it works with non-local names too. Issue #2903.

The added code in `JsonExtensionSpec.scala` fails to compile without the change in `JsMacroImpl.scala`. The error is:

JsonExtensionSpec.scala:55: not found: value Foreigner
implicit val foreignerReads = Json.reads[foreign.Foreigner]