ceu-lang/ceu

Bad message for error regarding prototype declaration and code/call

JoaoSamp opened this issue · 1 comments

error with the following code:

code/await CodeOne (none) -> NEVER;

code/await CodeTwo (var& CodeOne one) -> NEVER
do
    call one.Function();
    await FOREVER;
end

code/await CodeOne (none) -> NEVER
do
    code/call Function (none) -> none
    do
    end

    await FOREVER;
end

var& CodeOne co = spawn CodeOne();
spawn CodeTwo(&co);

escape 0;

Thanks for the report.