Skip to content

Fix table remove issues after chip restart, fixes #3487#3655

Merged
Astralcircle merged 1 commit into
wiremod:masterfrom
AlexALX:AlexALX-patch-2
Jul 14, 2026
Merged

Fix table remove issues after chip restart, fixes #3487#3655
Astralcircle merged 1 commit into
wiremod:masterfrom
AlexALX:AlexALX-patch-2

Conversation

@AlexALX

@AlexALX AlexALX commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Fixes table issues with code like after chip restart, fixes #3487

function foo() { 

    local T = table( 
        table(0,"A"), 
        table(0,"B"),
        table(0,"C"), 
        table(0,"D") 
    ) 

    T:removeTable(1) 
    printTable(T[1,table]) 
    printTable(T[2,table]) 
    printTable(T[3,table]) 
    printTable(T[4,table]) 
    print("---") 

} 

foo()

@Astralcircle

Copy link
Copy Markdown
Contributor

Seems to be fine, im not very good at understanding compiler code, but i think this is ok

@Astralcircle Astralcircle merged commit 074ff60 into wiremod:master Jul 14, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EGP/E2 issues after "E2 Compile rewrite" commit with Table:removeTable(index) function and local table inside function

2 participants