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 — External specs: a @StateSet declared later in the file is not found by an interface earlier in it · Issue #452 · liquid-java/liquidjava Closed DescriptionWhen one spec file holds external refinements for several classes of a hierarchy, the interface that declares the Minimal reproducer
import liquidjava.specification.ExternalRefinementsFor; import liquidjava.specification.StateRefinement; import liquidjava.specification.StateSet; @ExternalRefinementsFor("java.awt.Frame") public interface FrameRefinements { @StateRefinement(to = "notDisplayable(this)") void Frame(); @StateRefinement(from = "notDisplayable(this)") void setUndecorated(boolean undecorated); } @ExternalRefinementsFor("java.awt.Window") @StateSet({"notDisplayable", "displayable"}) // declared here, after its first use above interface WindowRefinements { @StateRefinement(to = "displayable(this)") void pack(); }
import java.awt.Frame; public class Client { public static void main(String[] args) { Frame f = new Frame(); f.setUndecorated(true); f.pack(); } } Found: Expected: Real-world scenario
Verifier commit 1a506fe. Reproducer as a verifier probe: liquid-java/co-specification Activity
MetadataMetadataAssigneesLabelsNo labels 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. |