Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Jan 19, 2025

old wildcard syntax [_] is deprecated in latest Scala 3.

Welcome to Scala 3.6.3 (21.0.5, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
                                                                                                                                           
scala> val a: List[_] = Nil
1 warning found
-- Warning: --------------------------------------------------------------------
1 |val a: List[_] = Nil
  |            ^
  |        `_` is deprecated for wildcard arguments of types: use `?` instead
val a: List[?] = List()
                                                                                                                                           
scala> val b: List[?] = Nil
val b: List[?] = List()

@dimafeng dimafeng merged commit 7daea5c into testcontainers:master Jan 20, 2025
0 of 3 checks passed
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