dfa: pop all the contract-unchecked arguments from stack (IDEA-112500)

This commit is contained in:
peter
2013-09-04 18:40:23 +02:00
parent 6c2ead1c62
commit 9c9e366bce
3 changed files with 28 additions and 6 deletions
@@ -0,0 +1,16 @@
import org.jetbrains.annotations.Contract;
public class Foo {
public void main(String[] args) {
for (int i = 0; i < 10; i++) {
assertTrue("str", true);
}
}
@Contract("_, false->fail")
void assertTrue(String msg, boolean value) {
}
}