diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2017-02-13 20:14:55 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2017-02-18 23:35:34 +0100 |
commit | 8fe124f1517fba9cb833c82e52ba6f6ba01da735 (patch) | |
tree | 0767adb538c069f8ebcea4a42f0d5aaa4478827a /interfaces | |
parent | 2979a14d0e4b10dc897d027dbfc827fc7624a520 (diff) | |
download | dotty-8fe124f1517fba9cb833c82e52ba6f6ba01da735.tar.gz dotty-8fe124f1517fba9cb833c82e52ba6f6ba01da735.tar.bz2 dotty-8fe124f1517fba9cb833c82e52ba6f6ba01da735.zip |
typedUnApply#trySelectUnapply: small cleanup
Previously, `specificProto` was a def even though it is always called,
this is because in cece884812143c6c8090ce08c6321bd4a1d52ea6, the usages
of `specificProto` and `genericProto` were swapped. We fix this by only
defining the protos where they are used. Incidentally, this mean that
the calls to UnapplyFunProto will use the correct Context inside
`tryEither`, although in this case this shouldn't matter.
Diffstat (limited to 'interfaces')
0 files changed, 0 insertions, 0 deletions