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 6b86452 commit 66dc2a7Copy full SHA for 66dc2a7
_posts/2024-08-01-given-priority-change-3.5.md
@@ -106,7 +106,7 @@ This will issue warnings when the choice of `given` has changed:
106
If the pre-3.5 behavior is preferred, you can explicitly pass the
107
desired given:
108
```scala
109
-@main def run = printComponent(using libComponent)
+@main def run = printComponent(using userComponent)
110
```
111
112
To determine the correct explicit parameter (which could involve a
@@ -118,7 +118,7 @@ scalac client.scala -Xprint:typer
118
This will output all parameters explicitly:
119
120
...
121
-@main def run: Unit = printComponent(libComponent)
+@main def run: Unit = printComponent(userComponent)
122
123
124
0 commit comments