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
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;
}
} // prg