fix compiler crash on hoisting certain vardecls from inner scopes

This commit is contained in:
Irmen de Jong
2022-12-22 18:49:53 +01:00
parent 4e103a1963
commit d0e6a2eb8b
5 changed files with 35 additions and 9 deletions

View File

@@ -913,7 +913,7 @@ class TestProg8Parser: FunSpec( {
val text="""
main {
sub start() {
ubyte cc
ubyte @shared cc
ubyte[] array = [1,2,3]
cc = 99 in 12345
cc = 9999 in array