MasseGuillaume / ScalaKata

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

ignore insight #26

Open MasseGuillaume opened 10 years ago

MasseGuillaume commented 10 years ago

add an identity function so an expression is ignored when instrumenting code

implicit class Ignore$[T](a : T) {
    def ignore$ = a
}
val a = List(1, 2) ignore$