mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: support [if userflag?]
fn tags
This commit is contained in:
parent
7b723262e4
commit
1d2b16dde2
@ -268,6 +268,9 @@ fn (mut g JsGen) method_call(node ast.CallExpr) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn (mut g JsGen) gen_call_expr(it ast.CallExpr) {
|
fn (mut g JsGen) gen_call_expr(it ast.CallExpr) {
|
||||||
|
if it.should_be_skipped {
|
||||||
|
return
|
||||||
|
}
|
||||||
if it.is_method && g.table.get_type_symbol(it.receiver_type).name.starts_with('JS.') {
|
if it.is_method && g.table.get_type_symbol(it.receiver_type).name.starts_with('JS.') {
|
||||||
g.js_method_call(it)
|
g.js_method_call(it)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user