aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1365.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix 1365: Fix bindings in patternsMartin Odersky2016-07-091-0/+13
We need to compare pattern types with expected types in order to derive knowledge about pattern-bound variables. This is done use the mechanism of gadt bounds.