Skip to content

Fix missed copy of operand when an operand becom this #9

@lhamot

Description

@lhamot

Problem

  • When an operator is a free function, it will be moved as member method
  • rhs or lhs will become this
  • If it was passed by copy, it is no more copied

    Solution

  • When an operand is passed by value and become _this_, don't alias it, but copy it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions