Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advancing does not recognize [@"substitute"] qualifier #64

Open
tchajed opened this issue Jul 25, 2017 · 1 comment
Open

Advancing does not recognize [@"substitute"] qualifier #64

tchajed opened this issue Jul 25, 2017 · 1 comment

Comments

@tchajed
Copy link
Contributor

tchajed commented Jul 25, 2017

F* has a special qualifier for KreMLin [@"substitute"] that fstar-mode doesn't recognize, so that advancing processes any definitions with this qualifier:

module Interactive_advance_substitute

(* fstar-subp-advance-next here... *)
let a = 1

[@"substitute"] let b = 2
(* ... goes here *)

This is low priority, and I'm not sure if this type of qualifier will stick around in F*.

@cpitclaudel
Copy link
Contributor

The fix would be to refine the predicate that's used for picking headers to start on. Currently it checks for preceding blanks and being outside of a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants