mirror of
https://github.com/github/semantic.git
synced 2024-12-27 00:44:57 +03:00
Combine lets.
This commit is contained in:
parent
cbda7cf344
commit
ecaa5a1671
@ -207,8 +207,8 @@ instance Compile Py.ClassDefinition where
|
||||
|
||||
body <- compile pybody buildTypeCall next
|
||||
let coreName = Name.named' n
|
||||
let assignClass = coreName :<- (rec coreName body)
|
||||
let continuing = fmap (locate it . (assignClass >>>=))
|
||||
assignClass = coreName :<- (rec coreName body)
|
||||
continuing = fmap (locate it . (assignClass >>>=))
|
||||
continuing (local (def n) (cc next))
|
||||
|
||||
instance Compile Py.ComparisonOperator
|
||||
|
Loading…
Reference in New Issue
Block a user