mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Fixed improper STA usage
This commit is contained in:
parent
b8e5cfeb7b
commit
cec4ef252a
1 changed files with 1 additions and 2 deletions
|
|
@ -1501,8 +1501,7 @@ let compile cmd ((imports, _), p) =
|
|||
add_code
|
||||
(compile_list false lassn env [ x; e ])
|
||||
lassn false
|
||||
[ (match x with Expr.Ref _ -> STI | _ -> STA) ]
|
||||
(*Expr.ElemRef _ -> STA | _ -> STI]*)
|
||||
[ (match x with Expr.ElemRef _ -> STA | _ -> STI) ]
|
||||
| Expr.Skip -> (env, false, [])
|
||||
| Expr.Seq (s1, s2) -> compile_list tail l env [ s1; s2 ]
|
||||
| Expr.If (c, s1, s2) ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue