File tree 2 files changed +2
-5
lines changed
src/main/dotty/tools/pc/completions
test/dotty/tools/pc/tests/completion
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ class Completions(
68
68
false
69
69
case (_ : (Import | Export )) :: _ => false
70
70
case _ :: (_ : (Import | Export )) :: _ => false
71
+ // UnApply has patterns included in MatchCaseCompletions
72
+ case _ :: (_ : UnApply ) :: _ => false
71
73
case _ => true
72
74
73
75
private lazy val isNew : Boolean =
Original file line number Diff line number Diff line change @@ -642,7 +642,6 @@ class CompletionSuite extends BaseCompletionSuite:
642
642
|}
643
643
| """ .stripMargin,
644
644
""" |Some(value) scala
645
- |Some[A](value: A): Some[A]
646
645
|Some scala
647
646
|""" .stripMargin
648
647
)
@@ -653,7 +652,6 @@ class CompletionSuite extends BaseCompletionSuite:
653
652
|}
654
653
| """ .stripMargin,
655
654
""" |Some(value) scala
656
- |Some[A](value: A): Some[A]
657
655
|Some scala
658
656
|""" .stripMargin
659
657
)
@@ -664,7 +662,6 @@ class CompletionSuite extends BaseCompletionSuite:
664
662
|}
665
663
| """ .stripMargin,
666
664
""" |Some(value) scala
667
- |Some[A](value: A): Some[A]
668
665
|Some scala
669
666
|""" .stripMargin
670
667
)
@@ -676,7 +673,6 @@ class CompletionSuite extends BaseCompletionSuite:
676
673
| case Some(Test.Neste@@)
677
674
| """ .stripMargin,
678
675
""" |NestedClass(x) test.Test
679
- |NestedClass(x: Int): NestedClass
680
676
|NestedClass test.Test
681
677
|""" .stripMargin
682
678
)
@@ -690,7 +686,6 @@ class CompletionSuite extends BaseCompletionSuite:
690
686
| """ .stripMargin,
691
687
""" |Some(value) scala
692
688
|Some scala
693
- |Some[A](value: A): Some[A]
694
689
|Some scala
695
690
|""" .stripMargin
696
691
)
You can’t perform that action at this time.
0 commit comments