We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
trait IntToLong: def apply(v: Int) : Long inline def convert1( f: IntToLong) = ??? inline def convert2(inline f: IntToLong) = ??? convert1(_ * 10) // Compiles Fine convert2(_ * 10) // Error: Found: Int => Long, Required: IntToLong @InlineParam
Is this supposed to work at all?