Both Scala 2 and Scala 3 have adopted the following pattern for AnyVal
extension methods (foo$extension
) while the SIP mentions the following pattern extension$foo
.
Not sure if we should update the SIP, or reflect this in the language spec (note that value classes are missing in the spec anyway)
cc/ @sjrd