@@ -610,6 +610,7 @@ inlineFunctions js =
610 JSReturn js@(JSNew "__IDRRT__Con" [JSNum _, JSArray vals])
610 JSReturn js@(JSNew "__IDRRT__Con" [JSNum _, JSArray vals])
612 | and $ map (\x -> isJSIdent x || isJSConstant x) vals = Just js
612 | and $ map (\x -> isJSIdent x || isJSConstant x) vals = Just js
613 inlineAble' (
614 inlineAble' (
614 JSReturn js@(JSNew "__IDRRT__Cont" [JSFunction [] (
615 JSReturn js@(JSNew "__IDRRT__Cont" [JSFunction [] (
615 JSReturn (JSApp (JSIdent _) args)
616 JSReturn (JSApp (JSIdent _) args)
@@ -617,6 +618,11 @@ inlineFunctions js =
618 | and $ map (\x -> isJSIdent x || isJSConstant x) args = Just js
619 | and $ map (\x -> isJSIdent x || isJSConstant x) args = Just js
622+ JSReturn js@(JSIndex (JSProj (JSApp (JSIdent _) args) "vars") _)
624+ | and $ map (\x -> isJSIdent x || isJSConstant x) args = Just js
620 inlineAble' _ = Nothing
626 inlineAble' _ = Nothing
622 isJSIdent js
628 isJSIdent js