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 defaulting #952

Merged
merged 2 commits into from
Nov 10, 2020
Merged

REPL defaulting #952

merged 2 commits into from
Nov 10, 2020

Conversation

robdockins
Copy link
Contributor

Add rules to default types at the command line for type variables not constrained by literal constraints.

If we encounter a type that is not constrained by `Literal` or `FLiteral`
constraint, we will try to default such types to `Integer`, then
`Rational`, then `Bit`, in that order.

Fixes #877
@robdockins robdockins requested a review from yav November 9, 2020 19:02
Copy link
Member

@yav yav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable.

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