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 — Named state sets, so a spec can refer to a whole set (e.g. old(phase(this))) · Issue #435 · liquid-java/liquidjava Open Labels enhancementNew feature or requestNew feature or requesterror messagesRelated to error messagesRelated to error messagesstudyNeeded before the error-message user studyNeeded before the error-message user study DescriptionMotivationEach Running example: an @StateSet({"start", "canEdit", "end"}) @StateSet({"undoable", "notUndoable"}) @StateSet({"redoable", "notRedoable"}) ... @StateRefinement(from="undoable(this)", to="notUndoable(this) && redoable(this)") void undo(); @StateRefinement(from="undoable(this)", to="return && undoable(this)") @StateRefinement(to="return ? undoable(this) : notUndoable(this)") boolean canUndo(); 1. A set mentioned in one branch is dropped in the otherA set counts as "mentioned" if any of its states appears anywhere in 2. Error messages leak the internal names
3. Hints multiply all sets togetherFor an unknown receiver (a field or a getter result), the hint lists the cross product of all sets, although the failing call only needs one:
ProposalAllow an optional name on a state set, which can be used as a function in predicates: @StateSet(name="phase", value={"start", "canEdit", "end"}) @StateSet(name="undo", value={"undoable", "notUndoable"}) @StateSet(name="redo", value={"redoable", "notRedoable"}) @StateRefinement(to="return ? undoable(this) : undo(this) == old(undo(this))") boolean canUndo();
Unnamed sets would keep working as today, with the generated name. Context: found while writing UndoManager specs for LiquidJava study exercises (JabRef's Activity
MetadataMetadataAssigneesLabelsenhancementNew feature or requestNew feature or requesterror 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. |