mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix const_embed_test.v error
This commit is contained in:
parent
4c8510dfaf
commit
dee64347e0
@ -18,7 +18,6 @@ const (
|
||||
'vlib/net/http/http_httpbin_test.v',
|
||||
'vlib/net/http/http_test.v',
|
||||
'vlib/regex/regex_test.v',
|
||||
'vlib/v/tests/const_embed_test.v',
|
||||
'vlib/v/tests/enum_bitfield_test.v',
|
||||
'vlib/v/tests/fixed_array_test.v',
|
||||
'vlib/v/tests/fn_test.v',
|
||||
|
@ -1853,6 +1853,9 @@ fn (var g Gen) const_decl(node ast.ConstDecl) {
|
||||
ast.CharLiteral {
|
||||
g.const_decl_simple_define(name, val)
|
||||
}
|
||||
ast.FloatLiteral {
|
||||
g.const_decl_simple_define(name, val)
|
||||
}
|
||||
ast.IntegerLiteral {
|
||||
g.const_decl_simple_define(name, val)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user