From 1aa786a9ff10bc39e4f1ad255db3e0f86e1a67cc Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Mon, 19 Dec 2022 10:06:08 -0800 Subject: [PATCH] Test for completions at typer --- compiler/test/dotty/tools/repl/TabcompleteTests.scala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/test/dotty/tools/repl/TabcompleteTests.scala b/compiler/test/dotty/tools/repl/TabcompleteTests.scala index ecb01d6863da..9cdb896963f1 100644 --- a/compiler/test/dotty/tools/repl/TabcompleteTests.scala +++ b/compiler/test/dotty/tools/repl/TabcompleteTests.scala @@ -228,4 +228,9 @@ class TabcompleteTests extends ReplTest { tabComplete(":d") ) } + + @Test def `i16551 typer phase for implicits` = initially { + val comp = tabComplete("BigInt(1).") + assertTrue(comp.distinct.nonEmpty) + } }