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

Duplicate += operator for DTPeriod? #23

Closed
rcstuber opened this issue Mar 3, 2020 · 2 comments
Closed

Duplicate += operator for DTPeriod? #23

rcstuber opened this issue Mar 3, 2020 · 2 comments

Comments

@rcstuber
Copy link

rcstuber commented Mar 3, 2020

The @:op(A += B)exists twice for DTPeriod operations, instead a @:op(A -= B)operator is what we expect.

@:op(A += B) private inline function mathMinus2 (period:DTPeriod) : DateTime return this = sub(period).getTime() + UNIX_EPOCH_DIFF;

@rcstuber
Copy link
Author

rcstuber commented Mar 3, 2020

Fast fix, thanks @RealyUniqueName !

@RealyUniqueName
Copy link
Owner

You're welcome )

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

No branches or pull requests

2 participants