Skip to content

Wrong error message when importing a shared module along with a missing one. #2432

@whatsavalue3

Description

@whatsavalue3

There are multiple files required to replicate the bug.

First one is the shared module.
/sharedmod.das

options gen2;
module sharedmod shared

Then a loader that will get compiled and released just to register the shared module
/loader.das

options gen2;
require sharedmod;

Afterwards when compiling this file. The error will show at require sharedmod; even though the error is in the later require.
/folder/main.das

options gen2;
options log_require;

require sharedmod;

require missingmod; // this will error with the wrong message.

It seems that the shared module will still error with FILE NOT FOUND in the log_require, but wont error immediately and continue compiling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions