diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-05-27 15:37:35 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-05-27 15:37:35 +0200 |
commit | b20bb5587fbd36b212027a04a62f65d6709d05af (patch) | |
tree | e26453ca05c5e12cc0e61881fde068ea0cb478d6 /test/files | |
parent | 159bade707f006a10745f58871806400b6a76166 (diff) | |
parent | 7ecd98bca6a4aa28de4e406bd27712007768647a (diff) | |
download | scala-b20bb5587fbd36b212027a04a62f65d6709d05af.tar.gz scala-b20bb5587fbd36b212027a04a62f65d6709d05af.tar.bz2 scala-b20bb5587fbd36b212027a04a62f65d6709d05af.zip |
Merge pull request #3794 from lrytz/t8625
SI-8625 fix unreachability analysis for boolean expressions
Diffstat (limited to 'test/files')
-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 +} |