diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2013-08-21 12:27:45 +0200 |
---|---|---|
committer | Den Shabalin <den.shabalin@gmail.com> | 2013-08-28 13:03:53 +0200 |
commit | b65d67d71c962523cca625a80553571408b2a3e6 (patch) | |
tree | 27f31b4d7b1f8fb88aa7ed1fdd8f200bb47341de /test/files/neg/macro-invalidusage-presuper.check | |
parent | a24fc60deed8fbed062ecd6ff96e434349cca75d (diff) | |
download | scala-b65d67d71c962523cca625a80553571408b2a3e6.tar.gz scala-b65d67d71c962523cca625a80553571408b2a3e6.tar.bz2 scala-b65d67d71c962523cca625a80553571408b2a3e6.zip |
deprecate early type defs
This feature is neither properly supported by Scala compiler
nor a part of the language spec and therefore should be removed.
Due to source compatiblity with 2.10 we need to deprecate it first.
Diffstat (limited to 'test/files/neg/macro-invalidusage-presuper.check')
-rw-r--r-- | test/files/neg/macro-invalidusage-presuper.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/macro-invalidusage-presuper.check b/test/files/neg/macro-invalidusage-presuper.check index f63a0eef80..c0b1ec0248 100644 --- a/test/files/neg/macro-invalidusage-presuper.check +++ b/test/files/neg/macro-invalidusage-presuper.check @@ -1,4 +1,4 @@ -Macros_Test_2.scala:3: error: only type definitions and concrete field definitions allowed in early object initialization section +Macros_Test_2.scala:3: error: only concrete field definitions allowed in early object initialization section class D extends { def x = macro impl } with AnyRef ^ one error found |