Skip to content

let expressions error #147

@est77

Description

@est77

After updating wiz recently, one of my projects now fails to build with a let expression error.

Minimal repro:

in ram
{

var g_entity_data_0 : [u16 ; 16];

}; // ram.

let g_player_action = g_entity_data_0[0];

in prg
{

#[mem16, idx16]
func test()
{
aa = g_player_action;

// error: `g_player_action` is a `let` expression, so it cannot accept a run-time expression

}

} // prg

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