diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-14 14:52:51 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-02-14 14:53:05 +0100 |
commit | 6e23a94e4732ce1ab72c4af00f209a63a04b3813 (patch) | |
tree | 9d4cc03f3d4ff74166c79fabe9663ebcf8edbec5 /bot | |
parent | 47901c09885f8931d82a3bbc469985a50f790091 (diff) | |
download | dotty-6e23a94e4732ce1ab72c4af00f209a63a04b3813.tar.gz dotty-6e23a94e4732ce1ab72c4af00f209a63a04b3813.tar.bz2 dotty-6e23a94e4732ce1ab72c4af00f209a63a04b3813.zip |
Fix #1975: Align valdefs and for expressions for patterns
val definitions and for expressions both distinguish whether
something is a pattern or a variable binding. They no do it
the same way: `ident` or an `ident: type` is a variable binding,
everything else is a pattern. Previously, capitalized idents
were considered as bindings in valdefs but as pattern in fors.
Diffstat (limited to 'bot')
0 files changed, 0 insertions, 0 deletions