Skip to content

import * from as pattern in section not working #219

Description

@huangqinjin

a.hexpat

import std.io;

char a @ 0;
std::print("a in module [{}]", a);

testing code

import std.mem;
import std.io;
import * from a as A;

auto data = std::mem::create_section("data");
std::mem::copy_value_to_section("AB", data, 0);

char c @ 0;
A a @ 0 in data;

std::print("c [{}], a [{}]", c, a);

a in module got wrong value, and on UI there is runtime error.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions