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: add missing `return` to `Trait::operator T(void)` #61

Closed vil02 closed 7 months ago

vil02 commented 7 months ago

Description

There is a missing return statement in this line: https://github.com/julelang/jule/blob/fb428b5a8835f77bc0b52d314784edd294c99fc1/api/trait.hpp#L209

This PR fixes that.

Checklist

Screenshots (if any)

Note to reviewers

Add missing return to Trait::operator T(void).