Skip to content

Commit

Permalink
Простейшая специализация замыканий (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazdaywik committed May 13, 2020
1 parent f805c4f commit e4cb960
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/compiler/OptTree-Spec.ref
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ SpecTerm {

= <SpecResult (e.SpecInfo (e.NewFunctions)) e.ClosureContent>
: (e.SpecInfo^ (e.NewFunctions^)) e.ClosureContent^

= <TrySpecCall
(e.SpecInfo (e.NewFunctions))
(CallBrackets e.ClosureContent (TkVariable 'e@' 0))
>
: (e.SpecInfo^ (e.NewFunctions^))
(CallBrackets e.ClosureContent^ (TkVariable 'e@' 0))

= (e.SpecInfo (e.NewFunctions)) (ClosureBrackets e.ClosureContent);

(e.SpecInfo (e.NewFunctions)) (Brackets e.Expression)
Expand Down

0 comments on commit e4cb960

Please sign in to comment.