Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def twoImp(implicit i : Int, s: String) = {
- i + " " + s
- }
- implicit val s = "implicit string"
- twoImp(2)
- error: not enough arguments for method twoImp: (implicit i: Int, implicit s: String)String.
- Unspecified value parameter s.
- twoImp(2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement