Skip to content

Commit cba703b

Browse files
albertjanmeredydd
authored andcommitted
fix typo in ast
1 parent ac28244 commit cba703b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ function astForClassdef (c, n, decoratorSeq) {
13511351
if (TYPE(CHILD(n, 3)) === TOK.T_RPAR) { /* class NAME '(' ')' ':' suite */
13521352
s = astForSuite(c, CHILD(n, 5));
13531353
classname = new_identifier(CHILD(n, 1).value);
1354-
forbiddenCheck(c, CHILD(n, 3), classname, CHILD(n,e).lineno);
1354+
forbiddenCheck(c, CHILD(n, 3), classname, CHILD(n, 3).lineno);
13551355
return new Sk.astnodes.ClassDef(classname, [], [], s, decoratorSeq,
13561356
/*TODO docstring*/null, LINENO(n), n.col_offset);
13571357
}

0 commit comments

Comments
 (0)