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 8ee1dcd commit f8e155bCopy full SHA for f8e155b
tests/rewrites/unused-imports.check
@@ -33,30 +33,26 @@ class C:
33
case E.E0 => "e0"
34
case E.E1 => "e1"
35
36
- locally {
+ locally:
37
import Givens.{*, given}
38
39
def g(s: String)(using Ordering[C]) = ???
40
def ordered = g(greeting)
41
- }
42
43
import Givens.{cOrdering, *}
44
45
46
47
48
49
import Givens.given Ordering[C]
50
51
52
println(g(""))
53
54
55
56
57
58
59
60
end C
61
62
object Givens:
0 commit comments