Closed gebner closed 8 months ago
Apparently I missed a warning during extraction:
Not extracting Bug9.foo to KaRaMeL (function type annotation has less arrows than the number of arguments; please mark the return type abbreviation as inline_for_extraction)
Adding inline_for_extraction
to noop
makes extraction work again. (Though it would be great if this was an error and not a crash.)
In some cases, functions defined using the
fn foo (...) : ty = args { ... }
syntax cannot be extracted using Karamel:// Extracts fine
Adding the following function already breaks
fstar.exe --codegen krml --extract
: