summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-bundle-polymorphic.check
blob: 8eedce7e87bea190079d40a5f0d3a6099e2ff748 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                                                                                                                      
                             
                   
                                                                                                                                                                                       
                                  
                   
                                                                                                                                                                                       
                                           
                   
                  
macro-bundle-polymorphic.scala:9: error: macro bundles must be monomorphic traits extending either blackbox.Macro or whitebox.Macro and not implementing their `val c: Context` member
  def foo = macro Bundle.impl
                  ^
macro-bundle-polymorphic.scala:10: error: macro bundles must be monomorphic traits extending either blackbox.Macro or whitebox.Macro and not implementing their `val c: Context` member
  def foo = macro Bundle[Int].impl
                  ^
macro-bundle-polymorphic.scala:11: error: macro bundles must be monomorphic traits extending either blackbox.Macro or whitebox.Macro and not implementing their `val c: Context` member
  def foo = macro Bundle[Int, Nothing].impl
                  ^
three errors found