summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-explaintypes.flags
diff options
context:
space:
mode:
authorPaolo G. Giarrusso <p.giarrusso@gmail.com>2013-01-21 23:43:03 +0100
committerPaolo G. Giarrusso <p.giarrusso@gmail.com>2013-03-15 01:32:47 +0100
commit4bb8988e0263206fc914537c7762b0ee3b9057aa (patch)
tree862e6067aa76d6e87a9e683d550b74b817b6349a /test/files/neg/abstract-explaintypes.flags
parentec6548fb91309b72bd46ff939f79bb253ca5953a (diff)
downloadscala-4bb8988e0263206fc914537c7762b0ee3b9057aa.tar.gz
scala-4bb8988e0263206fc914537c7762b0ee3b9057aa.tar.bz2
scala-4bb8988e0263206fc914537c7762b0ee3b9057aa.zip
Add positive and negative testcases for SI-6123 (-explaintypes)
Positive testcases compile reduced known offenders to verify that no output is produced. The negative testcase tests that -explaintypes actually produces output on code which fails to compile. I have altered an existing testcase, `test/files/neg/abstract`, adding -explaintypes to the flags. This testcase is currently mostly ineffective, as partest currently ignores the standard output (SI-7003). It will become more effective when SI-7003 is fixed. But already now, testers would at least be able to notice extraneous output. This argument is somewhat bogus, but this patch is no worse than the other ones which are committed while SI-7003 is open.
Diffstat (limited to 'test/files/neg/abstract-explaintypes.flags')
-rw-r--r--test/files/neg/abstract-explaintypes.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/abstract-explaintypes.flags b/test/files/neg/abstract-explaintypes.flags
new file mode 100644
index 0000000000..b36707c7cf
--- /dev/null
+++ b/test/files/neg/abstract-explaintypes.flags
@@ -0,0 +1 @@
+-explaintypes