aboutsummaryrefslogtreecommitdiff
path: root/compiler/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-05 11:16:00 +0100
committerMartin Odersky <odersky@gmail.com>2017-03-05 11:16:00 +0100
commit9dade983f139922e3389378608face2594d15fd9 (patch)
treed16c76098cff5950a7cdde0ff6e6111c8a9f57ea /compiler/test
parent353a4d9f17b91d09dea3c9090c7a21e267372abe (diff)
downloaddotty-9dade983f139922e3389378608face2594d15fd9.tar.gz
dotty-9dade983f139922e3389378608face2594d15fd9.tar.bz2
dotty-9dade983f139922e3389378608face2594d15fd9.zip
Fixes
(1) Drop unused error message (2) Drop test which is now illegal
Diffstat (limited to 'compiler/test')
-rw-r--r--compiler/test/dotty/tools/dotc/parsing/ModifiersParsingTest.scala3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/test/dotty/tools/dotc/parsing/ModifiersParsingTest.scala b/compiler/test/dotty/tools/dotc/parsing/ModifiersParsingTest.scala
index 806e1af46..5144d81e4 100644
--- a/compiler/test/dotty/tools/dotc/parsing/ModifiersParsingTest.scala
+++ b/compiler/test/dotty/tools/dotc/parsing/ModifiersParsingTest.scala
@@ -95,9 +95,6 @@ class ModifiersParsingTest {
source = "class A[T]"
assert(source.firstTypeParam.modifiers == List())
-
- source = "class A[type T]"
- assert(source.firstTypeParam.modifiers == List(Mod.Type()))
}
@Test def typeDef = {