aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2015-07-02 17:00:50 +0200
committerDmitry Petrashko <dark@d-d.me>2015-07-02 17:00:50 +0200
commitd4e80f46339d25aa7c0bcf474ac8b091cd8b97c8 (patch)
treee205c4c711fcd70422892d0e0fbbd82916e46502 /test
parent52b720a09eee8de47a35aea8e424a2ea66906fb1 (diff)
parent49ae820f3e8d08cf5db4a1165df980328172b42f (diff)
downloaddotty-d4e80f46339d25aa7c0bcf474ac8b091cd8b97c8.tar.gz
dotty-d4e80f46339d25aa7c0bcf474ac8b091cd8b97c8.tar.bz2
dotty-d4e80f46339d25aa7c0bcf474ac8b091cd8b97c8.zip
Merge pull request #695 from dotty-staging/fix/source-positions
Avoid crasher when first token of a program is in error
Diffstat (limited to 'test')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 9b5748a07..aca68d6cf 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -142,6 +142,7 @@ class tests extends CompilerTest {
@Test def neg_shadowedImplicits = compileFile(negDir, "arrayclone-new", xerrors = 2)
@Test def neg_traitParamsTyper = compileFile(negDir, "traitParamsTyper", xerrors = 5)
@Test def neg_traitParamsMixin = compileFile(negDir, "traitParamsMixin", xerrors = 2)
+ @Test def neg_firstError = compileFile(negDir, "firstError", xerrors = 3)
@Test def run_all = runFiles(runDir)