GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Counterexample leaves out the variable the expected refinement constrains, when Found knows nothing about it · Issue #453 · liquid-java/liquidjava Closed Labels bugSomething isn't workingSomething isn't workingerror messagesRelated to error messagesRelated to error messagesreal-world-findingFound when experimenting liquidjava in real world repos or OSSFound when experimenting liquidjava in real world repos or OSSstudyNeeded before the error-message user studyNeeded before the error-message user study DescriptionImpact: when nothing is known about the variable a refinement constrains, the counterexample leaves that variable out and shows values for unrelated path conditions instead. The reader is pointed away from the value that breaks the call. Minimal reproducer import liquidjava.specification.Refinement; public class Probe { static void connect(@Refinement("_ >= 0") int timeout) {} static void probe(int port, int timeout) { if (port < 0 || port > 65535) return; connect(timeout); } } Expected: the counterexample names Actual (main @ 19991d3): Cause. Real-world scenario. One of the exercises for the error-message study is OpenNMS's VMware probe: In VS Code (OpenNMS study exercise, verifier main @ 19991d3, extension main @ 80bed18). The counterexample shows Activity
MetadataMetadataAssigneesLabelsbugSomething isn't workingSomething isn't workingerror messagesRelated to error messagesRelated to error messagesreal-world-findingFound when experimenting liquidjava in real world repos or OSSFound when experimenting liquidjava in real world repos or OSSstudyNeeded before the error-message user studyNeeded before the error-message user study TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |