summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-bundle-polymorphic.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-01-12 00:17:25 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-01-12 18:03:51 +0100
commit3a689f5c426436aea716567625fd6167e57bef92 (patch)
tree46871d70acc7d3cd83e7433f217e362a796e8f30 /test/files/neg/macro-bundle-polymorphic.check
parent5cc8f83c681ded7367dc5112f6f9042e9526facf (diff)
downloadscala-3a689f5c426436aea716567625fd6167e57bef92.tar.gz
scala-3a689f5c426436aea716567625fd6167e57bef92.tar.bz2
scala-3a689f5c426436aea716567625fd6167e57bef92.zip
changes bundles to be classes, not traits extending Macro
Adjusts bundle notation to read `class Bundle(val c: Context)` instead of `class Bundle extends Macro`. This avoids calling compileLate in the macro compiler and associated tooling problems.
Diffstat (limited to 'test/files/neg/macro-bundle-polymorphic.check')
-rw-r--r--test/files/neg/macro-bundle-polymorphic.check10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/files/neg/macro-bundle-polymorphic.check b/test/files/neg/macro-bundle-polymorphic.check
deleted file mode 100644
index 8eedce7e87..0000000000
--- a/test/files/neg/macro-bundle-polymorphic.check
+++ /dev/null
@@ -1,10 +0,0 @@
-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