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 — Found lists facts about other variables and nothing about the one the expected refinement constrains · Issue #480 · liquid-java/liquidjava Closed Labels error messagesRelated to error messagesRelated to error messagesstudyNeeded before the error-message user studyNeeded before the error-message user study DescriptionImpact: Found lists facts about variables that the expected refinement does not mention, and nothing about the one it does. It is the first thing a reader reads, and it points them away from the problem. The counterexample (since #453) and the hints are right; Found is what misleads. Minimal reproducer 1 (refinement) 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); } } Actual (main @ cd49fea): Minimal reproducer 2 (state) import liquidjava.specification.StateRefinement; import liquidjava.specification.StateSet; @StateSet({"empty", "full"}) class Box { @StateRefinement(to = "empty(this)") Box() {} @StateRefinement(to = "full(this)") void put() {} @StateRefinement(from = "full(this)", to = "empty(this)") void take() {} } public class Probe { Box box = new Box(); Box getBox() { return box; } void run(String a, String b) { Box box = getBox(); if (a.isEmpty() || b.isEmpty()) return; box.take(); } } Actual (main @ cd49fea): Expected: Found keeps the facts about the variables of the expected refinement ( Related: #374 (keep the target variable in Found). Real-world scenario. Two of the six exercises for the error-message study:
Activity
MetadataMetadataAssigneesLabelserror messagesRelated to error messagesRelated to error messagesstudyNeeded 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. |