diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-01-09 14:44:47 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-01-09 14:58:25 -0800 |
commit | 8fb19b132579b7ddb9dd12ae829451dcf9d91332 (patch) | |
tree | 2cb58cb3d90497d2086f66c0a195dfb1a04efce6 /test/long-running | |
parent | 1381cda86ddeca1b9829a9c53ff9372cfd816735 (diff) | |
download | scala-8fb19b132579b7ddb9dd12ae829451dcf9d91332.tar.gz scala-8fb19b132579b7ddb9dd12ae829451dcf9d91332.tar.bz2 scala-8fb19b132579b7ddb9dd12ae829451dcf9d91332.zip |
SI-5189 detect unsoundness when inferring type of match
GADT skolems encode type slack that results from pattern matching on variant type constructors
I thought they would not longer be relevant after cases have been typed,
and since they caused weird issues with the old pattern matcher, I deskolemized in typedCase
however, when we don't have an expected type for the match, we need to keep the skolems around
until the skolemized type makes it out of the match and it becomes the result of type inference for that match
when you do have an expected type, it will propagate to the case-level and the confrontation will thus
already take place when typing individual cases
Diffstat (limited to 'test/long-running')
0 files changed, 0 insertions, 0 deletions