julelang / jule

Effective programming language to build efficient, fast, reliable and safe software while maintaining simplicity
https://jule.dev
BSD 3-Clause "New" or "Revised" License
128 stars 13 forks source link

fix: use proper return type of `Any::operator=` #92

Closed vil02 closed 6 months ago

vil02 commented 6 months ago

Description

Overloads of operator= for type T should return T& (cf. Assignment operator).

Checklist

Screenshots (if any)

Note to reviewers

Use Any& as a return type of Any::operator=.