Skip to content

Commit 9009870

Browse files
committed
Revert "remove corner case that didn't make it for 3.7.0"
This reverts commit eab0570.
1 parent 3810efa commit 9009870

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scalafix-tests/input/src/main/scala-3next/test/explicitResultTypes/ExplicitResultTypesBase.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ object ExplicitResultTypesBase {
2626
object ExtraSpace {
2727
def * = "abc".length
2828
def ! = "abc".length
29+
def foo_ = "abc".length
2930
def `x` = "abc".length
3031
def `x ` = "abc".length
3132
}

scalafix-tests/output/src/main/scala-3/test/explicitResultTypes/ExplicitResultTypesBase.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ object ExplicitResultTypesBase {
2323
object ExtraSpace {
2424
def * : Int = "abc".length
2525
def ! : Int = "abc".length
26+
def foo_ : Int = "abc".length
2627
def `x`: Int = "abc".length
2728
def `x `: Int = "abc".length
2829
}

0 commit comments

Comments
 (0)