Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove -source:3.0-migration #349

Merged
merged 1 commit into from
Dec 30, 2023
Merged

Conversation

xuwei-k
Copy link

@xuwei-k xuwei-k commented Dec 30, 2023

avoid ambiguous reference

[warn] -- [E049] Reference Migration Warning: /home/runner/work/scopt/scopt/shared/src/test/scala/scopttest/Issue239.scala:9:8
[warn] 9 |        arg[Double]("value").action((v, _) => v)
[warn]   |        ^^^
[warn]   |Reference to arg is ambiguous,
[warn]   |it is both defined in method $anonfun
[warn]   |and inherited subsequently in anonymous class scopt.OptionParser[Double] {...}
[warn]   |
[warn]   | longer explanation available when compiling with `-explain`
[warn] -- [E049] Reference Migration Warning: /home/runner/work/scopt/scopt/shared/src/test/scala/scopttest/Issue239.scala:22:8
[warn] 22 |        arg[Int]("value").action((v, _) => v)
[warn]    |        ^^^
[warn]    |Reference to arg is ambiguous,
[warn]    |it is both defined in method $anonfun
[warn]    |and inherited subsequently in anonymous class scopt.OptionParser[Int] {...}
[warn]    |
[warn]    | longer explanation available when compiling with `-explain`

```
[warn] -- [E049] Reference Migration Warning: /home/runner/work/scopt/scopt/shared/src/test/scala/scopttest/Issue239.scala:9:8
[warn] 9 |        arg[Double]("value").action((v, _) => v)
[warn]   |        ^^^
[warn]   |Reference to arg is ambiguous,
[warn]   |it is both defined in method $anonfun
[warn]   |and inherited subsequently in anonymous class scopt.OptionParser[Double] {...}
[warn]   |
[warn]   | longer explanation available when compiling with `-explain`
[warn] -- [E049] Reference Migration Warning: /home/runner/work/scopt/scopt/shared/src/test/scala/scopttest/Issue239.scala:22:8
[warn] 22 |        arg[Int]("value").action((v, _) => v)
[warn]    |        ^^^
[warn]    |Reference to arg is ambiguous,
[warn]    |it is both defined in method $anonfun
[warn]    |and inherited subsequently in anonymous class scopt.OptionParser[Int] {...}
[warn]    |
[warn]    | longer explanation available when compiling with `-explain`
```
@eed3si9n eed3si9n merged commit d2a807e into scopt:develop Dec 30, 2023
3 checks passed
@xuwei-k xuwei-k deleted the 3-migration-option branch December 30, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants