diff options
author | Martin Odersky <odersky@gmail.com> | 2015-10-26 09:47:21 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-10-26 09:47:21 +0100 |
commit | 065a0026924f722e9844c8e314180bb4cebca236 (patch) | |
tree | 5b3beb65682e12c729c68ecd2b61b9a4d16bc2f8 /tests/neg/i866.scala | |
parent | d4f30d1a268a51ee74c98f6ae0f45136274536af (diff) | |
download | dotty-065a0026924f722e9844c8e314180bb4cebca236.tar.gz dotty-065a0026924f722e9844c8e314180bb4cebca236.tar.bz2 dotty-065a0026924f722e9844c8e314180bb4cebca236.zip |
Don't count suppressed errors
If an error message was supressed to count it in the total.
Diffstat (limited to 'tests/neg/i866.scala')
-rw-r--r-- | tests/neg/i866.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/neg/i866.scala b/tests/neg/i866.scala new file mode 100644 index 000000000..2cdc99ede --- /dev/null +++ b/tests/neg/i866.scala @@ -0,0 +1,9 @@ +object Test { + def x: Int = "" // error +} +import nonexistent._ // error; this one will swallow all errors below. +object Foo { + def bar(implicit x: NonExistent) = ??? + val baz = bar +} + |