Skip to content

Usage of SRCINFO->moduleID for ES6 moduleId may not be appropriate #2931

@suwc

Description

@suwc

Currently storing ES6 moduleId in SRCINFO->moduleID.
For example, in SourceTextModuleRecord::ParseSource():

                this->parser = (Parser*)AllocatorNew(ArenaAllocator, allocator, Parser, scriptContext);
                srcInfo->moduleID = moduleId;

This may not be appropriate and needs investigation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions