diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-05-27 12:24:26 +0300 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-05-27 12:24:26 +0300 |
commit | 7ecd98bca6a4aa28de4e406bd27712007768647a (patch) | |
tree | 92af2288ddb3594a1502656a2800b710b121b047 /test/files/pos | |
parent | ae6724527d2798b49e9c2cede536af48b3c9d962 (diff) | |
download | scala-7ecd98bca6a4aa28de4e406bd27712007768647a.tar.gz scala-7ecd98bca6a4aa28de4e406bd27712007768647a.tar.bz2 scala-7ecd98bca6a4aa28de4e406bd27712007768647a.zip |
SI-8625 fix unreachability analysis for boolean expressions
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t8625.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t8625.scala b/test/files/pos/t8625.scala new file mode 100644 index 0000000000..95c4b0dbcd --- /dev/null +++ b/test/files/pos/t8625.scala @@ -0,0 +1,5 @@ +object Test { + def f1(a: Boolean, b: Boolean) = (a || ???) && (b || ???) + def f2(a: Boolean, b: Boolean) = (a || ???) && b + def f3(a: Boolean, b: Boolean) = (a && ???) || b +} |