blob: fbd9588ede0d5c074de38f9856962d639873d4da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import scala.tools.nsc.doc.model._
import scala.tools.partest.ScaladocModelTest
import language._
object Test extends ScaladocModelTest {
override def code = """
import scala.reflect.macros.Context
import language.experimental.macros
object Macros {
def impl(c: Context) = c.literalUnit
def foo = macro impl
}
class C {
def bar = Macros.foo
}
"""
def scaladocSettings = ""
override def extraSettings = super.extraSettings + " -Ymacro-no-expand"
def testModel(root: Package) = ()
}
|