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 {
198198 assertTrue(" expected trait" , isTrait)
199199 }
200200
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-
216201 @ Test def overloadedMethodNeedsReturnType =
217202 checkMessagesAfter(" frontend" ) {
218203 """
@@ -399,7 +384,7 @@ class ErrorMessagesTests extends ErrorMessagesTest {
399384 assertEquals(" Scope.foo(1)" , tree.show)
400385 assertEquals(" ((a: Int)Unit)(Scope.foo)" , methodPart.show)
401386 }
402-
387+
403388 @ Test def ambiugousOverloadWithWildcard =
404389 checkMessagesAfter(" frontend" ) {
405390 """ object Context {
You can’t perform that action at this time.
0 commit comments