summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-bundle-nonstatic.check
blob: 36bccc54db6d6b221a821e9f693ac2b794ec54b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
macro-bundle-nonstatic.scala:12: error: value Bundle is not a member of object Module
  def foo1 = macro Module.Bundle.impl
                          ^
macro-bundle-nonstatic.scala:13: error: value Bundle is not a member of Module
  def foo2 = macro new Module().Bundle.impl
                                ^
macro-bundle-nonstatic.scala:17: error: macro bundles must be static
  def foo = macro Bundle.impl
                  ^
macro-bundle-nonstatic.scala:23: error: macro bundles must be static
  def foo = macro Bundle.impl
                  ^
four errors found