Open som-snytt opened 1 year ago
https://github.com/scala/scala/pull/10290 appears abandoned.
Scala 3 (3.4.0-RC1-bin-20230807-84099a7-NIGHTLY) is silent as well.
It appears abandoned but I am still inside peering out from behind the locked shutters.
SLS 8.1.4 is cited on the dotty ticket.
Reproduction steps
Scala version: 2.13.10
Problem
Expected an error that
Short
is required.This is specified, and is analogous to stable identifier pattern.
Also as specified, the pattern literal is
Short
by virtue of the expected type (if it is in range).