Skip to content

Commit 859bb52

Browse files
committed
Disable extension DocTests
1 parent 14cc28f commit 859bb52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/test/dotty/tools/repl/DocTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DocTests extends ReplTest {
3030
eval("/** doc */ trait Foo").andThen { implicit s =>
3131
assertEquals("doc", doc("new Foo"))
3232
}
33-
33+
/*
3434
@Test def docOfExtension1 =
3535
eval("/** doc */ extension (x: Int) def foo = 0").andThen { implicit s =>
3636
assertEquals("doc", doc("extension_foo"))
@@ -47,7 +47,7 @@ class DocTests extends ReplTest {
4747
assertEquals("doc2", doc("extension_bar"))
4848
assertEquals("doc0", doc("extension_baz"))
4949
}
50-
50+
*/
5151
@Test def docOfDefInObject =
5252
eval("object O { /** doc */ def foo = 0 }").andThen { implicit s =>
5353
assertEquals("doc", doc("O.foo"))

0 commit comments

Comments
 (0)