FStarLang / fstar-mode.el

Emacs support for F*
Apache License 2.0
67 stars 17 forks source link

decreases clauses #90

Closed wintersteiger closed 6 years ago

wintersteiger commented 6 years ago

The doc buffer sometimes doesn't display decreases clauses; for instance here:

CommonDH.keyShareEntriesBytes_aux
/mnt/f/dev/sec/everest/fstar-master/mitls-fstar/src/tls/CommonDH.fst(699,16-699,40)

Type
  b: bytes{UInt32.v (len b) < 65536} -> kes: list keyShareEntry -> Prims.Tot bytes kes

Documentation
  Serializing function for a list of KeyShareEntry

where the range should be Prims.Tot bytes (decreases kes).

cpitclaudel commented 6 years ago

Thanks. Can you move this to the F repo, since F itself does the formatting?

wintersteiger commented 6 years ago

Sure, this is now https://github.com/FStarLang/FStar/issues/1457