The need reported by Scala IDE user.
Description: Eclipse completes a code of pattern matching for case classes by using all defined and visible in the class loader implementations of some specific trait.
Example:
Source: see discussion
Description: Eclipse completes a code of pattern matching for case classes by using all defined and visible in the class loader implementations of some specific trait.
Example:
trait A
case class B(s: String) extends A
case class C(i: Int) extends A
def foo(a: A) = a match {
// generated by eclipse
case B(s) =>
case C(i) =>
}
Source: see discussion
Leave a comment
on 2015-05-13 07:55 *
By wpopielarski769697
Description changed from The need reported by Scala ... to The need reported by Scala ...
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|