summaryrefslogtreecommitdiff
path: root/test/files/pos/t6123-explaintypes-macros.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7695 Macro debug output on -explaintypesSom Snytt2013-07-271-7/+0
| | | | | | | | | | It looks like checkConforms should wait for error before using explainTypes, rather than turning on macro debug trace if explaintypes is set. In particular, macro debug output is Console.println instead of reporter.echo or similar, so partest can't test it.
* Add positive and negative testcases for SI-6123 (-explaintypes)Paolo G. Giarrusso2013-03-151-0/+7
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.