remove an assert false
This commit is contained in:
parent
21cd4d1a9a
commit
a3346384c4
|
@ -382,7 +382,10 @@ let find_exn t name =
|
||||||
match Hashtbl.find t.packages name with
|
match Hashtbl.find t.packages name with
|
||||||
| Some (Present x) -> x
|
| Some (Present x) -> x
|
||||||
| Some Absent -> raise (Package_not_found name)
|
| Some Absent -> raise (Package_not_found name)
|
||||||
| None -> assert false
|
| None ->
|
||||||
|
code_errorf
|
||||||
|
"Package %S not in the package table after loading the appropriate META files"
|
||||||
|
name
|
||||||
|
|
||||||
let available t name =
|
let available t name =
|
||||||
match find_exn t name with
|
match find_exn t name with
|
||||||
|
|
Loading…
Reference in New Issue