diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-20 10:51:56 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-20 10:52:01 +0100 |
commit | 0a8c17efca37e14b8467d7da9ffd6c48c8cd1c0f (patch) | |
tree | 6d4f0d3f781870d3e346dc7d7a4fad42d80ce9c5 /test | |
parent | ecac7b30412b587a7a65e31bbbe3107ed66fd1a9 (diff) | |
download | dotty-0a8c17efca37e14b8467d7da9ffd6c48c8cd1c0f.tar.gz dotty-0a8c17efca37e14b8467d7da9ffd6c48c8cd1c0f.tar.bz2 dotty-0a8c17efca37e14b8467d7da9ffd6c48c8cd1c0f.zip |
Avoid eager forcing in enterArgBinding
Caused a cyclic reference error when compiling the three files in test "testNonCyclic".
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index fe31f1e53..97d15d2d1 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -57,6 +57,12 @@ class tests extends CompilerTest { @Test def tools_io = compileDir(dotcDir + "tools/io") @Test def tools = compileDir(dotcDir + "tools") - @Test def dotc_compilercommand = compileFile(dotcDir + "tools/dotc/config/", "CompilerCommand") + @Test def testNonCyclic = compileArgs(Array( + dotcDir + "tools/dotc/CompilationUnit.scala", + dotcDir + "tools/dotc/core/Types.scala", + dotcDir + "tools/dotc/ast/Trees.scala", + "-Ylog:frontend", + "-Xprompt")) + //@Test def dotc_compilercommand = compileFile(dotcDir + "tools/dotc/config/", "CompilerCommand") }
\ No newline at end of file |