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

Merge branch 'feature/server/ip-no-status' into 'master'

[server] consider ip with no-status

See merge request frama-c/frama-c!4433
parents 0d44cd91 f628b5c5
No related branches found
No related tags found
No related merge requests found
...@@ -965,7 +965,7 @@ let () = Information.register ...@@ -965,7 +965,7 @@ let () = Information.register
~title:"Property Consolidated Status" ~title:"Property Consolidated Status"
begin fun fmt loc -> begin fun fmt loc ->
match loc with match loc with
| PIP prop -> | PIP prop when Property.has_status prop ->
Property_status.Feedback.pretty fmt @@ Property_status.Feedback.pretty fmt @@
Property_status.Feedback.get prop Property_status.Feedback.get prop
| _ -> raise Not_found | _ -> raise Not_found
......
...@@ -268,7 +268,13 @@ let () = States.column model ~name:"names" ...@@ -268,7 +268,13 @@ let () = States.column model ~name:"names"
let () = States.column model ~name:"status" let () = States.column model ~name:"status"
~descr:(Md.plain "Status") ~descr:(Md.plain "Status")
~data:(module PropStatus) ~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" let () = States.option model ~name:"scope"
~descr:(Md.plain "Declaration 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