Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Java: opExplicit (and probably opImplicit) results in invalid method generation #581

Open
atsushieno opened this issue Jan 25, 2018 · 0 comments · May be fixed by #588
Open

Java: opExplicit (and probably opImplicit) results in invalid method generation #581

atsushieno opened this issue Jan 25, 2018 · 0 comments · May be fixed by #588
Milestone

Comments

@atsushieno
Copy link
Member

Explicit operator overloads are transformed to opExplicit(). Unfortunately operators are different from normal methods and they can have overloads for the same argument and different return type e.g.

char opExplicit(BigDecimal b);
int opExplicit(BigDecimal b);

They have to be either excluded or given different names.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants