summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-bundle-polymorphic.check
blob: 204bd30bca99bd41b111a5f7a91fd06d5d2042ee (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                                                                                                        
macro-bundle-polymorphic.scala:10: error: macro bundles must be monomorphic traits extending scala.reflect.macros.Macro and not implementing its `val c: Context` member
  def foo = macro Bundle.impl
      ^
macro-bundle-polymorphic.scala:11: error: macro bundles must be monomorphic traits extending scala.reflect.macros.Macro and not implementing its `val c: Context` member
  def foo = macro Bundle[Int].impl
      ^
macro-bundle-polymorphic.scala:12: error: macro bundles must be monomorphic traits extending scala.reflect.macros.Macro and not implementing its `val c: Context` member
  def foo = macro Bundle[Int, Nothing].impl
      ^
three errors found