Skip to content

Commit 2a6eb42

Browse files
som-snytttgodzik
authored andcommitted
Exclude synthetic opaque proxy from lint (scala#24264)
Fixes scala#24263 [Cherry-picked 55f235c]
1 parent bdaf609 commit 2a6eb42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/warn/i24263.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//> using options -Werror -Wunused:all
2+
3+
object test {
4+
def f(t: Tuple): Nothing = ???
5+
val _ = (inputTuple: NamedTuple.NamedTuple[Tuple, Tuple]) => f(inputTuple)
6+
}

0 commit comments

Comments
 (0)