Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reject overloads that require conversion in
var
position (#1420)
## Summary * overloads where an argument passed to a `var` parameter requires an implicit conversion are now rejected * this results in clearer error messages ## Details The `checkConstraint` template is only called with `operand`, which is the operand before fixup (e.g., introduction of implicit conversions), hence the `isLValue` test not failing. `arg` (the operand after fixup) is now passed to `isLValue`, so that implicit conversions are taken into account.
- Loading branch information