diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-08-10 15:25:55 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-08-10 19:18:01 +0200 |
commit | 0e819626c2640a25e6d50f7b07ca1d00997d14bc (patch) | |
tree | 52d05c4fab3d3ed2ddb8c8cf005b46d8dc4edf62 /test | |
parent | 4c62f7db6f3913eedd92d85daf8f631149cc97b2 (diff) | |
download | scala-0e819626c2640a25e6d50f7b07ca1d00997d14bc.tar.gz scala-0e819626c2640a25e6d50f7b07ca1d00997d14bc.tar.bz2 scala-0e819626c2640a25e6d50f7b07ca1d00997d14bc.zip |
DefDef.name is now TermName again
Now when there's no hope left for type macros, it's reasonable to provide
a more specific type for DefDef.name.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/scalacheck/quasiquotes/ArbitraryTreesAndNames.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/scalacheck/quasiquotes/ArbitraryTreesAndNames.scala b/test/files/scalacheck/quasiquotes/ArbitraryTreesAndNames.scala index 03f8aa58d3..23b6a5fbdb 100644 --- a/test/files/scalacheck/quasiquotes/ArbitraryTreesAndNames.scala +++ b/test/files/scalacheck/quasiquotes/ArbitraryTreesAndNames.scala @@ -91,7 +91,7 @@ trait ArbitraryTreesAndNames { yield CompoundTypeTree(templ) def genDefDef(size: Int) = - for(mods <- genModifiers; name <- genName; + for(mods <- genModifiers; name <- genTermName; tpt <- genTree(size -1); rhs <- genTree(size - 1); tparams <- smallList(size, genTypeDef(size - 1)); vparamss <- smallList(size, smallList(size, genValDef(size - 1)))) |