Skip to content

Commit

Permalink
Fix JavacTypeBinding.isAssignementCompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Jul 2, 2024
1 parent c6dc4d0 commit a29a33f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ public boolean isArray() {
@Override
public boolean isAssignmentCompatible(final ITypeBinding variableType) {
if (variableType instanceof JavacTypeBinding other) {
return this.types.isAssignable(other.type, this.type);
return this.types.isAssignable(this.type, other.type);
}
throw new UnsupportedOperationException("Cannot mix with non Javac binding"); //$NON-NLS-1$
}
Expand Down

0 comments on commit a29a33f

Please sign in to comment.