We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
3.3.6-RC1 and 3.7.0-RC1 both display the issue.
case class RequestLogsOuter(streamId: Int) @main def Test = { case class RequestLogs(streamId: Int) var x: List[Any] = List(RequestLogsOuter(12), RequestLogs(36), RequestLogs(42), 42) x.collect{ case outer @ RequestLogsOuter(id) => println(1) case RequestLogs(42) => println(2) // warns in 3.3.6 case v: RequestLogs => println(3) // warned in 3.3.5 if above is commented out } }
the type test for RequestLogs cannot be checked at runtime because it's a local class
The code work correctly despite the warning, is that expected? Most likely showed up after #22099
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compiler version
3.3.6-RC1 and 3.7.0-RC1 both display the issue.
Minimized code
Output
Expectation
The code work correctly despite the warning, is that expected? Most likely showed up after #22099
The text was updated successfully, but these errors were encountered: