1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

js: remove duplicate match

This commit is contained in:
Alexander Medvednikov 2022-07-06 07:46:58 +03:00
parent 819b6f475a
commit 59d6ca0c95

View File

@ -959,11 +959,10 @@ fn (mut g JsGen) expr(node_ ast.Expr) {
ast.LockExpr { ast.LockExpr {
g.gen_lock_expr(node) g.gen_lock_expr(node)
} }
ast.Nil {}
ast.NodeError {}
ast.Nil { ast.Nil {
g.write('null') g.write('null')
} }
ast.NodeError {}
ast.None { ast.None {
g.write('none__') g.write('none__')
} }