-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support type inference for binary operations #105
Comments
57 tasks
lehvolk
added a commit
that referenced
this issue
Jun 23, 2023
lehvolk
added a commit
that referenced
this issue
Jun 23, 2023
lehvolk
added a commit
that referenced
this issue
Jul 4, 2023
lehvolk
added a commit
that referenced
this issue
Jul 4, 2023
sergeypospelov
added a commit
that referenced
this issue
Jul 5, 2023
Consider this function: public int example(char s, char c) {
return s + c;
} JacoDB thinks type of |
lehvolk
pushed a commit
that referenced
this issue
Jul 5, 2023
lehvolk
pushed a commit
that referenced
this issue
Jul 6, 2023
lehvolk
pushed a commit
that referenced
this issue
Jul 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose you have the following example:
I expect to see a 3-address code in
JcInstList
with type annotations as illustrated below:But instead I get:
Maybe, the 3-address code builder should infer types for binary expressions based on argument types. E.g., for cases when one of the arguments is
char
, the result should be at least ofint
type.The text was updated successfully, but these errors were encountered: