Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit cf6afae

Browse files
author
Juanjo Alvarez
committed
Move the function decorators to the same object as async in the
function group.
1 parent b74998a commit cf6afae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

driver/normalizer/normalizer.go

-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ func funcDefMap(typ string, async bool) Mapping {
5555
Obj{
5656
// FIXME: generator=true if it uses yield anywhere in the body
5757
"async": Bool(async),
58-
},
59-
Obj{
6058
"decorators": Var("func_decorators"),
6159
},
6260
UASTType(uast.Alias{}, Obj{

0 commit comments

Comments
 (0)