Skip to content

Bug: Primitive type expression between "int" and "byte" buggy - #57

Closed
abego wants to merge 1 commit into
java2script:masterfrom
abego:int_op_byte_bug
Closed

Bug: Primitive type expression between "int" and "byte" buggy#57
abego wants to merge 1 commit into
java2script:masterfrom
abego:int_op_byte_bug

Conversation

@abego

@abego abego commented Jul 23, 2018

Copy link
Copy Markdown
Contributor

Problem

In addPrimitiveTypedExpression operations between primitive types
are handled.

However there is a typo (using right instead of rightName) when
checking for the "right-part" of an expression with an "int"
at the left side. As a result "(int) op (byte)" expressions are
not correctly handled.

Other Changes

  • replace non UTF-8 characters with ASCII-chars (in comment)

Problem
=======

In `addPrimitiveTypedExpression` operations between primitive types
are handled.

However there is a typo (using `right` instead of `rightName`) when
checking for the "right-part" of an expression with an "int"
at the left side. As a result "(int) op (byte)" expressions are
not correctly handled.

Other Changes
=============

- replace non UTF-8 characters with ASCII-chars (in comment)
@abego
abego requested a review from BobHanson July 23, 2018 17:52

@BobHanson BobHanson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

good catch.

@BobHanson

Copy link
Copy Markdown
Collaborator

I have incorporated the right/rightName fix into Yadav1.

@BobHanson BobHanson closed this Aug 9, 2018
@BobHanson

Copy link
Copy Markdown
Collaborator

incorporated into Yadav1

BobHanson added a commit that referenced this pull request Sep 13, 2018
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