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

Fix a tutorial example #597

Merged
merged 2 commits into from
Aug 1, 2016
Merged

Fix a tutorial example #597

merged 2 commits into from
Aug 1, 2016

Conversation

Rotsor
Copy link
Contributor

@Rotsor Rotsor commented Jul 30, 2016

Without this fix, uncommenting the supposedly ill-typed code did not
produce any error, maybe inferring something crazy like:

val staticChecking :
x:unit{ACLs.canWrite passwd && ACLs.canRead passwd} -> unit

This also fixes another example that didn't compile.

Rotsor added 2 commits July 31, 2016 00:18
Without this fix, uncommenting the supposedly ill-typed code did *not* 
produce any error, maybe inferring something crazy like:

  val staticChecking : 
    x:unit{ACLs.canWrite passwd && ACLs.canRead passwd} -> unit
@s-zanella
Copy link
Contributor

Thanks! There is an ongoing discussion about this exact issue in #581.
I'm merging this PR because it improves the state of affairs. The tutorial is in need of an overhaul.

@s-zanella s-zanella merged commit 1ab5590 into FStarLang:master Aug 1, 2016
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

Successfully merging this pull request may close these issues.

2 participants