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

checker: fix compile-time call with string identifier expression (#8415)

This commit is contained in:
Nick Treleaven
2021-01-30 14:24:16 +00:00
committed by GitHub
parent 058f3ba013
commit 43c3a3b080
8 changed files with 123 additions and 25 deletions

View File

@@ -1130,6 +1130,8 @@ pub struct ComptimeCall {
pub:
has_parens bool // if $() is used, for vfmt
method_name string
method_pos token.Position
scope &Scope
left Expr
is_vweb bool
vweb_tmpl File
@@ -1137,7 +1139,8 @@ pub:
is_embed bool
embed_file EmbeddedFile
pub mut:
sym table.TypeSymbol
sym table.TypeSymbol
result_type table.Type
}
pub struct None {