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

REPL 'last change' time-stamp should be taken from start of reload #127

Open
ohad opened this issue Oct 18, 2019 · 0 comments
Open

REPL 'last change' time-stamp should be taken from start of reload #127

ohad opened this issue Oct 18, 2019 · 0 comments

Comments

@ohad
Copy link

ohad commented Oct 18, 2019

Steps to Reproduce

Take a file that takes idris2 a while to type-check, say Foo.idr.
While idris2 is type-checking, make a change in the file and save before idris2 finishes.
Reload the file.

Expected Behavior

Main> :r
1/1 Building Main (Foo.idr)
Main> 

Observed Behavior

Main> :r
Main> 

I think this is because the timestamp on the last change to this file is taken after type-checking finishes, and it should be taken before type-checking starts.

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

1 participant