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 — A refinement error on a call argument is written in the callee's parameter name, not the argument the caller wrote · Issue #481 · 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: when the argument of a call is itself a call or an expression, the message is written entirely in terms of the callee's parameter name ( Minimal reproducer import liquidjava.specification.Refinement; public class Probe { @Refinement("_ >= 0 && _ < bound") static int nextInt(@Refinement("_ > 0") int bound) { return 0; } @Refinement("_ >= 0") static int size() { return 0; } static int pick() { return nextInt(size()); } } Actual (main @ cd49fea): Expected: the message names the argument as written at the call site, e.g. Real-world scenario. chaos-http-proxy's RandomFailureSupplier, an exercise 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. |