Skip to content
Snippets Groups Projects
Commit f628b5c5 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[server] consider ip with no-status

parent 0d44cd91
No related branches found
No related tags found
No related merge requests found
......@@ -965,7 +965,7 @@ let () = Information.register
~title:"Property Consolidated Status"
begin fun fmt loc ->
match loc with
| PIP prop ->
| PIP prop when Property.has_status prop ->
Property_status.Feedback.pretty fmt @@
Property_status.Feedback.get prop
| _ -> raise Not_found
......
......@@ -268,7 +268,13 @@ let () = States.column model ~name:"names"
let () = States.column model ~name:"status"
~descr:(Md.plain "Status")
~data:(module PropStatus)
~get:(Property_status.Feedback.get)
~get:
begin fun ip ->
if Property.has_status ip
then Property_status.Feedback.get ip
else Property_status.Feedback.Never_tried
end
let () = States.option model ~name:"scope"
~descr:(Md.plain "Declaration Scope")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment