We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a68b5 commit 7f4201fCopy full SHA for 7f4201f
tests/pos/tasty-tags-obscure.scala
@@ -0,0 +1,17 @@
1
+object ObscureTasty
2
+
3
+ def foo(f: [t] => List[t] ?=> Unit) = ???
4
+ def test1 = foo([t] => (a: List[t]) ?=> ()) // POLYtype => GIVENMETHODType
5
+ def bar(f: [t] => List[t] => Unit) = ???
6
+ def test2 = bar([t] => (a: List[t]) => ()) // POLYtype => METHODType
7
8
+ class Bar
9
+ final val bar = "Bar.bar"
10
11
+ class Foo extends Bar
12
+ object A
13
+ def unapply(a: Any): Some[Foo.super.bar.type] = ???
14
15
+ def foo =
16
+ "" match
17
+ case A(x) => x // SUPERtype
0 commit comments