sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
114 stars 43 forks source link

fix(stdlib): callFunc should always return a value #604

Closed lkipke closed 3 years ago

lkipke commented 3 years ago

Change Summary

This fixes a bug where the interpreter throws a type mismatch when CallFunc doesn't return a value. Because CallFunc has a dynamic return type, the interpreter does not allow void.