1
なぜこのエラーがありますか?スカラーセット、オーバーロードされた定義へのあいまいな参照
Error:(5, 18) ambiguous reference to overloaded definition, both method startsWith in class String of type (x$1: String)Boolean and method startsWith in class String of type (x$1: String, x$2: Int)Boolean match expected type ? fruit filter (_.startsWith == "ap")
ヴァル・果物=セット( "アプリ"、 "B"、 "C")
フルーツフィルタ(_.startsWith == "AP")