ただしoverloadの解決はtargetNameで別名付けてればやってくれるよ、ってことか
https://github.com/scala/scala3/issues/18744
コンパイルエラー避けるのにlcpArray()とlcpArrayArbitrary()とか定義してたけど、ここでtargetName使えそうか
バイトコードレベルの話なのか…(勘違いしてたか?
https://docs.scala-lang.org/scala3/reference/other-new-features/targetName.html
> The @targetName annotation has no bearing on Scala usages. Any application of that method in Scala has to use `++=`, not `append`.
関数のoverload(override)避けるのにtargetName使えるで!って言われても、最初から別の名前つけて実装するのと違いが分からん…
クソトゥート製造マシーン
私があなたなら、このアカウントはフォローしません
https://twitter.com/harry0000jp
https://mstdn.jp/@harry0000