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

Lean: fix parantheses around negative integer literals #926

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

javra
Copy link
Collaborator

@javra javra commented Jan 30, 2025

Adds parantheses whenever an integer is negative, to avoid precedence issues.

Fixes #890

Copy link

github-actions bot commented Jan 30, 2025

Test Results

   12 files  ±0     24 suites  ±0   0s ⏱️ ±0s
  759 tests ±0    759 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 503 runs  ±0  2 503 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 8ec5bc9. ± Comparison against base commit e7f1262.

♻️ This comment has been updated with latest results.

@javra javra force-pushed the lean/negative-int-lits branch from 934bb27 to 5a50130 Compare January 30, 2025 12:52
@javra javra force-pushed the lean/negative-int-lits branch from 5a50130 to 8ec5bc9 Compare January 30, 2025 12:53
@bacam bacam merged commit 9383224 into rems-project:sail2 Jan 30, 2025
3 checks passed
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.

sail-to-lean: Support for negative integer constants in lean backend
3 participants