You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Found shows a field as this#<package>.<Class>.<field> with only true #457
error messagesRelated to error messagesreal-world-findingFound when experimenting liquidjava in real world repos or OSSsimplificationRelated to the simplification of expressionsstudyNeeded before the error-message user study
Impact: a field read in the method shows up in Found as its internal name, this#<package>.<Class>.<field>, and only as true. In the IDE panel this row wraps over several lines, comes before the useful one, and the name isn't the one used in the code or in the message.
Minimal reproducer (ArrayList.size() refined _ >= 0 and Random.nextInt(bound) refined bound > 0, in external specs)
Expected: no row for a binder that is only true and that no other row needs (see #375), or at least the source name: this.items.
Real-world scenario. Two exercises for the error-message study show it:
chaos-http-proxy's RandomFailureSupplier shows ∀this#x_e_oss_a2_10_randomfailuresupplier.E_OSS_A2_10_RandomFailureSupplier.failures above the actual cause.
Jpcsp's IntrManager shows ∀this#x_e_oss_a1_17_interruptmanager.E_OSS_A1_17_InterruptManager.interrupts⁴⁷⁵, which is the row that holds the state (empty(...)).
In VS Code (chaos-http-proxy study exercise, verifier main @ 19991d3, extension main @ 80bed18). The field row wraps over five lines above the useful one:
error messagesRelated to error messagesreal-world-findingFound when experimenting liquidjava in real world repos or OSSsimplificationRelated to the simplification of expressionsstudyNeeded before the error-message user study
Activity
Drop true binders that the error does not need and write fields as in…
Give field display records and binder ordering their own classes, and…
Drop true binders that the error does not need and write fields as in…
Give field display records and binder ordering their own classes, and…