FStarLang/FStar

assert are never extracted even with `--mlish`

Open

#984 aberto em 13 de abr. de 2017

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)F* (258 forks)auto 404
area/error-messagescomponent/extractiongood first issue

Métricas do repositório

Stars
 (3.068 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

The function assert is never extracted to OCaml. This is not very nice when using the ocaml-based F* compiler and getting a Failure("Impossible") because an invariant was broken.

It would be nice to extract the assertions when they do correspond to runtime checks as they are in the compiler.

Guia do colaborador