False positive warning about passing implicits with a using
clause in 3.7 nightly
#22733
Labels
area:implicits
related to implicits
better-errors
Issues concerned with improving confusing/unhelpful diagnostic messages
itype:bug
stat:duplicate
Compiler version
3.7.0-RC1-bin-20250304-bef520f-NIGHTLY
Minimized code
Output
Expectation
There should be no warning --
def single
returns an instance ofSQLToOption[A, E]
, which inheritsdef apply()
fromSQLToResult
.The
()
are required to properly callapply()
. I tried changing the code tobut it yields the same warning. And remove
()
yields an error:The text was updated successfully, but these errors were encountered: