Skip to content

Undeclared literal link names resolved in strict mode. #325

@cardillan

Description

@cardillan

The compiler doesn't report undeclared literal links names as such in strict mode:

#set syntax = strict;

begin
    foo(message4);
    foo(message);
end;

noinline def foo(x)
    printflush(x);
end;

Here, message is reported as undeclared, but message4 isn't. The code even compiles when foo(message); is removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompilerRelated to the code generator

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions