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

Misc fixes (typeclasses, printing) #3294

Merged
merged 9 commits into from
May 17, 2024
Merged

Conversation

mtzguido
Copy link
Member

  • Make tcresolve solve trivial unit goals, which can show up
  • Improve the fix for No resugaring of projections #3227 to consider nested applications, which should up pervasively in Pulse.

mtzguido added 9 commits May 17, 2024 14:39
They may show up if instances happened to add a unit argument, like:

    instance val has_range_syntax #a : unit -> Tot (hasRange (syntax a))

while it is really there for no reason (it's a pure definition anyway),
the resolution tactic should not be broken by such things.
Related to FStarLang#3227. Without this, this rule does not kick in for Pulse
for any parametrized type, as the applications are nested.
@mtzguido mtzguido enabled auto-merge May 17, 2024 21:56
@mtzguido mtzguido merged commit 60844c6 into FStarLang:master May 17, 2024
2 checks passed
@mtzguido mtzguido deleted the tc_pp branch May 17, 2024 22:05
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.

1 participant