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
A float ghost crashes the verifier: "Ghost not implemented for type float" #443
Declaring a float ghost crashes the verifier when the ghost needs its default value. The result should be either support for the type or a proper error at the @Ghost annotation.
Exception in thread "main" java.lang.RuntimeException:
Error while checking CtConstructorImpl
on null
at (no source position: CtConstructorImpl)
with Ghost not implemented for type float
at liquidjava.processor.refinement_checker.TypeChecker.scan(TypeChecker.java:99)
...
int and boolean ghosts get defaults (0, false); double was not tried. Expected: a default for float too (or a user-facing error naming the supported ghost types).
Found while cataloguing spec forms for co-specification (probe V19 there). Low priority.
Hi! I'd like to work on this issue as my next open-source contribution. I've reviewed the reproducer and would like to investigate the float ghost default handling in TypeChecker.java. Is it okay if I take this up?
Activity
MohammedZaid1740 commentedon Nov 21, 2026
Hi! I'd like to work on this issue as my next open-source contribution. I've reviewed the reproducer and would like to investigate the float ghost default handling in
TypeChecker.java. Is it okay if I take this up?