File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
compiler/test/dotty/tools/dotc/reporting Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -198,21 +198,6 @@ class ErrorMessagesTests extends ErrorMessagesTest {
198
198
assertTrue(" expected trait" , isTrait)
199
199
}
200
200
201
- @ Test def constructorModifier =
202
- checkMessagesAfter(" frontend" ) {
203
- """
204
- |class AnotherClass @deprecated ()
205
- """ .stripMargin
206
- }
207
- .expect { (ictx, messages) =>
208
- implicit val ctx : Context = ictx
209
- val defn = ictx.definitions
210
-
211
- assertMessageCount(1 , messages)
212
- val AnnotatedPrimaryConstructorRequiresModifierOrThis (cls) :: Nil = messages
213
- assertEquals(" AnotherClass" , cls.show)
214
- }
215
-
216
201
@ Test def overloadedMethodNeedsReturnType =
217
202
checkMessagesAfter(" frontend" ) {
218
203
"""
@@ -399,7 +384,7 @@ class ErrorMessagesTests extends ErrorMessagesTest {
399
384
assertEquals(" Scope.foo(1)" , tree.show)
400
385
assertEquals(" ((a: Int)Unit)(Scope.foo)" , methodPart.show)
401
386
}
402
-
387
+
403
388
@ Test def ambiugousOverloadWithWildcard =
404
389
checkMessagesAfter(" frontend" ) {
405
390
""" object Context {
You can’t perform that action at this time.
0 commit comments