shsajjadi / OctaveCoder

Octave Coder __ A code generator and build system that converts Octave to C++
Other
25 stars 3 forks source link

nested function call when the innermost call returns undefined value should generate error #7

Closed shsajjadi closed 2 years ago

shsajjadi commented 3 years ago

Consider the following example:

    function out = test
    end

If it is used as test2(test()) it should generate error while when it is used as [~] = test it shouldn't generate error.

shsajjadi commented 3 years ago

The fix is here