Skip to content

Commit

Permalink
Typo fix in tests/pos/i4561.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoliykmetyuk authored Mar 12, 2020
1 parent a3b6646 commit c075f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pos/i4561.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ object abc:
v(x => x + 1)

w[Int](_ + 1)
// w[_ + 1) // error: `+` is not a member of Any
// w(_ + 1) // error: `+` is not a member of Any
w[Int]("x")(_ + 1)

0 comments on commit c075f8b

Please sign in to comment.