MasseGuillaume / ScalaKata

Moved
https://github.com/MasseGuillaume/ScalaKata2
121 stars 3 forks source link

embedded compiler to show compiler error #61

Open MasseGuillaume opened 10 years ago

MasseGuillaume commented 10 years ago

add a way to show an expected compiler error

currently this is done commenting code and manually copying the compiler error

{
    implicit def any2stringadd(x: Any) = null
//   List(1) + "?"
// >> value + is not a member of List[Int]
}